This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/27882] [4.1/4.2 regression] segfault in ipa-inline.c, if (e->callee->local.disregard_inline_limits
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jul 2006 12:44:48 -0000
- Subject: [Bug tree-optimization/27882] [4.1/4.2 regression] segfault in ipa-inline.c, if (e->callee->local.disregard_inline_limits
- References: <bug-27882-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from reichelt at gcc dot gnu dot org 2006-07-19 12:44 -------
I cannot reproduce the ICE with the original testcase.
I can reproduce it with the testcase from comment #19 and #20, though.
Here's an even shorter version:
=======================
void foo();
static inline bar()
{
foo();
}
void foo()
{
bar();
}
=======================
In addition I can only reproduce the problem on the 4.1 branch, starting
with GCC 4.1.1, but not on mainline (probably latent, though).
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-07-19 12:44:48
date| |
Summary|[4.2 regression] segfault in|[4.1/4.2 regression]
|ipa-inline.c, if (e->callee-|segfault in ipa-inline.c, if
|>local.disregard_inline_limi|(e->callee-
|ts |>local.disregard_inline_limi
| |ts
Target Milestone|4.2.0 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27882