[Bug middle-end/35249] miscompilation of Emacs at -O

simon dot marshall at misys dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 26 10:37:00 GMT 2008



------- Comment #10 from simon dot marshall at misys dot com  2008-02-26 10:36 -------
With CFLAGS="-g -O1 -fno-unit-at-a-time -fno-crossjumping -Wno-pointer-sign", I
cannot hit the breakpoint on error (ie, if I put a breakpoint on error itself).

Also, I cannot hit the breakpoint at intervals2.c:34 if I add
-fno-delayed-branch to the compilation of intervals2.c.

The original motivation for this report was that I was trying to reproduce the
occasional problem of error being called (a "this should never happen" sanity
check) at this place in the code.  I thought I had managed to do that with the
bugzilla reported simple sequence of events immediately after starting emacs. 
Does your finding suggest that my supposed reproduction of the error call was
an illusion?  (And that there is no miscompilation either.)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35249



More information about the Gcc-bugs mailing list