This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17357] New: -ftree-loop-optimize miscompiles emacs
- From: "dann at godzilla dot ics dot uci dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2004 18:33:51 -0000
- Subject: [Bug tree-optimization/17357] New: -ftree-loop-optimize miscompiles emacs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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