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 debug/39086] [4.4 Regression] ICE in decl_ultimate_origin, at dwarf2out.c:5770 when compiling with -fno-tree-sra



------- 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


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