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