http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43805
Sebastien Bourdeauducq changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
--- Comment #5 from jon at beniston dot com 2010-05-26 09:15 ---
Created an attachment (id=20746)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20746&action=view)
Possible fix for bug
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43805
--- Comment #4 from philpem at philpem dot me dot uk 2010-04-22 21:28
---
I've just bisected the source tree with "svn-bisect" -- starting at rev 154096
(the first rev with lm32 support), ending at 158339 (gcc 4.5.0 release).
Turns out the bug was introduced in or before 154096, which
--- Comment #3 from steven at gcc dot gnu dot org 2010-04-19 21:39 ---
Removing -O2 is never a proper work-around anyway. This should just work.
--
steven at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #2 from philpem at philpem dot me dot uk 2010-04-19 20:33
---
Admittedly removing -O2 does fix the ICE in this file, however a different
source file (mm/filemap.c) causes a gcc ICE when it isn't built with -O2:
mm/filemap.c: In function do_generic_file_read:
mm/filemap.c: