--- Comment #8 from mikpe at it dot uu dot se 2009-09-18 11:14 ---
The binary search identified revision 145494, the alias-improvements merge, as
the point where this test case stopped breaking.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41354
--- Comment #7 from ramana at gcc dot gnu dot org 2009-09-18 07:19 ---
(In reply to comment #6)
> Does -fno-tree-sink fix the issue? If so this is duplicate of bug 39604.
>
Comment #1 indicates that -fno-tree-sink fixes the issue.
*** This bug has been marked as a duplicate of 39604
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-09-18 03:43 ---
Does -fno-tree-sink fix the issue? If so this is duplicate of bug 39604.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41354
--- Comment #5 from mikpe at it dot uu dot se 2009-09-17 16:18 ---
Appears fixed in gcc-4.5-20090910, but not in gcc-4.4-20090915. I'll start a
binary search to see what fixed it (I have a suspicion already).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41354
--- Comment #4 from mikpe at it dot uu dot se 2009-09-17 13:23 ---
Confirmed with gcc-4.4.1 and gcc-4.3.4 on armv5tel-unknown-linux-gnueabi.
I've not been able to trigger it with gcc-4.4.1 on i686-linux, powerpc-linux,
or sparc64-solaris, so it looks ARM-specific.
I'll check if there's
--- Comment #3 from erik at arbat dot com 2009-09-15 13:22 ---
Created an attachment (id=18584)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18584&action=view)
Self-contained program demonstrating the issue.
Correct behaviour is to do nothing.
Incorrect behaviour is to crash with
--- Comment #2 from mikpe at it dot uu dot se 2009-09-14 15:01 ---
Incomplete test case, compiling w/o -c results in linkage errors:
codegen.cc:(.text+0x1a): undefined reference to `CodeStub::get_code()'
codegen.cc:(.text+0x30): undefined reference to `CodeStub::get_code()'
codegen.cc:(