This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/39086] [4.4 Regression] ICE in decl_ultimate_origin, at dwarf2out.c:5770 when compiling with -fno-tree-sra
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Feb 2009 10:54:41 -0000
- Subject: [Bug debug/39086] [4.4 Regression] ICE in decl_ultimate_origin, at dwarf2out.c:5770 when compiling with -fno-tree-sra
- References: <bug-39086-15951@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from jakub at gcc dot gnu dot org 2009-02-06 10:54 -------
Seems that 2008-08-29 patch effect on this testcase is that __builtin_expect is
removed later and it apparently isn't considered as zero cost. This is
strange, as gimple_reg = gimple_reg2 is considered to have 0 cost. I think
__builtin_expect shouldn't count the cost of the second argument and for the
first argument if lhs of the call is_gimple_reg and so is the first call
argument, it should also return 0 cost.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39086