[Bug tree-optimization/66868] [5/6 Regression] wrong code generated with -O3 (dead code removal?)

wschmidt at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 21 22:10:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66868

--- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Hm.  I compiled it as stated and I see a bunch of code that appears to be
storing the ".disk/" string.  So it doesn't look like dead code elimination. 
Perhaps a branch is short circuiting this, or the address of where to store it
has been corrupted.

I don't have any way to confirm that I'm reproducing the problem when I
compile, from what's given here.  It might be helpful to provide the full test
case without ellipses, and the failure message given by the test.



More information about the Gcc-bugs mailing list