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 tree-optimization/44063] [4.6 Regression]: build broken for libgcc cris-elf, ICE in cgraph_estimate_size_after_inlining, at ipa-inline



------- Comment #6 from laurent at guerby dot net  2010-05-11 08:50 -------
(gdb) l
203     static int
204     cgraph_estimate_size_after_inlining (int times, struct cgraph_node *to,
205                                          struct cgraph_node *what)
206     {
207       int size = (what->global.size - inline_summary
(what)->size_inlining_benefit) * times + to->global.size;
208       gcc_assert (size >= 0);
209       return size;
210     }
211     
212     /* Scale frequency of NODE edges by FREQ_SCALE and increase loop nest
(gdb) p size
$1 = -2
(gdb) p what->global.size
$2 = 1
(gdb) p times
$3 = 1
(gdb) p to->global.size
$4 = 0
(gdb) p inline_summary (what)->size_inlining_benefit
$5 = 3


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44063


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