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 tree-optimization/17357] New: -ftree-loop-optimize miscompiles emacs


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


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