optimization/10221: gcc -O9 will introduce wrong asembler?
steven@gcc.gnu.org
steven@gcc.gnu.org
Wed Mar 26 14:21:00 GMT 2003
Synopsis: gcc -O9 will introduce wrong asembler?
State-Changed-From-To: open->feedback
State-Changed-By: steven
State-Changed-When: Wed Mar 26 14:02:34 2003
State-Changed-Why:
Hi,
Thanks for the problem report. Unfortunately, I
am unable to reproduce the bug with the code you
attached:
1) The RELEASE and DEBUG codes you talk about are
not in the preprocessed source.
2) The code you provided seems to rely on other
compilation units, i.e. there are undefined
references at link time.
Can you produce a smaller test case, or at least one
without external references?
Oh, and I suppose you see this problem with -O3 as
well? The highest optimization level for GCC is -O3,
if you do -On, n>3, nothing extra happens.
Greetz
Steven
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10221
More information about the Gcc-bugs
mailing list