This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/44063] [4.6 Regression]: build broken for libgcc cris-elf, ICE in cgraph_estimate_size_after_inlining, at ipa-inline
- From: "laurent at guerby dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 May 2010 08:50:24 -0000
- Subject: [Bug tree-optimization/44063] [4.6 Regression]: build broken for libgcc cris-elf, ICE in cgraph_estimate_size_after_inlining, at ipa-inline
- References: <bug-44063-507@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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