On Wed, Jun 19, 2013 at 12:47 PM, Evgeny Gavrin <evgeny.gavrin@xxxxxxxxxxx> wrote: > Behavior of the compiler does not match the documentation. > > The following "-femit-struct-debug-detailed=ind:ord:base" means that debug info should be emitted for structs used indirectly and declared in file that matches the base name of the compilation file (test.c/test.h). > > So, in the particular case, when struct is used indirectly in test.c and declared in test-nonbase.h - info on structs shouldn't be emitted. > > In case of, "-femit-struct-debug-detailed=ord:base" - it works correctly and emits nothing. > > I think that there is a bug in interpretation of optional parameters. OK--please file a bug report following the directions at http://gcc.gnu.org/bugs/ . Thanks. Ian