This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug inline-asm/33932] miscalculation of asm labels with -g3



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]