[Bug tree-optimization/17357] New: -ftree-loop-optimize miscompiles emacs

dann at godzilla dot ics dot uci dot edu gcc-bugzilla@gcc.gnu.org
Wed Sep 8 18:33:00 GMT 2004


Emacs crashes on startup if it's compiled with the current mainline on x86-linux. 
The crash happens becase one file seems to be miscompiled: src/alloc.c

compiling just that one file with -O1 -fno-tree-loop-optimize and everything
else with -O2 results in a working emacs. If src/alloc.c is compiled with -O1
and all the other object files are kept the same, the resulting emacs crashes on
startup.

-- 
           Summary: -ftree-loop-optimize miscompiles emacs
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dann at godzilla dot ics dot uci dot edu
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list