------- Comment #17 from stsp at users dot sourceforge dot net 2008-12-28 13:54 ------- > Which part of "...as I don't think people are trying to..." gives you the > certainty that really "people don't"? What gives me that certainty is the fact that this happens only with -g3. Do you think someone depended himself on -g3 and is not compiling his programs with -g[012], so that this gcc behaveour is worth keeping?
> The real bug here, IMHO, is that it works at all for -g1 and -g2. > The compiler should probably warn about top-level asm blocks without > explicit section switches. OK, that explains a bit, thanks! It also works without -g at all, so some people depended on that for some reasons (dosemu breaks with -g3), but I understand such a warning is not possible to implement. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33932