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 middle-end/35249] miscompilation of Emacs at -O



------- Comment #11 from ebotcazou at gcc dot gnu dot org  2008-03-04 09:14 -------
> 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.)

You really need to put the breakpoint on 'error' to be sure.  Source location
information is seriously shaken by optimization in the 4.x series of compilers
so I wouldn't rely on it to put breakpoints in optimized code.


-- 


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


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