This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/35618] [4.3 regression] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 May 2008 14:35:53 -0000
- Subject: [Bug tree-optimization/35618] [4.3 regression] ICE in cgraph_estimate_size_after_inlining, at ipa-inline.c:188
- References: <bug-35618-9876@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from rguenth at gcc dot gnu dot org 2008-05-23 14:35 -------
Confirmed.
Testcase, -Os -fno-unit-at-a-time
static void __resched_task(void *p, int tif_bit);
static inline __attribute__((always_inline))
void resched_task(void *p) { __resched_task(p, 2); }
static void __resched_task(void *p, int tif_bit) { }
void check_preempt_curr_idle(void *p)
{
resched_task(p);
}
if you put an inline onto the definition of __resched_task the testcase
also ICEs for -O and -O2, so quite likely we are more agressive with -Os
inlining but decide so after-the-fact which confuses the size estimates.
Honza, can you please have a look here?
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Component|other |tree-optimization
Ever Confirmed|0 |1
GCC build triplet|i486-linux-gnu |
GCC host triplet|i486-linux-gnu |
GCC target triplet|i486-linux-gnu |
Last reconfirmed|0000-00-00 00:00:00 |2008-05-23 14:35:53
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35618