This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29241] [4.0/4.1/4.2 Regression] ICE with always inline
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Sep 2006 06:37:14 -0000
- Subject: [Bug c/29241] [4.0/4.1/4.2 Regression] ICE with always inline
- References: <bug-29241-13311@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-09-27 06:37 -------
This only fails with the C front-end, here is a testcase that also compiles
with the C++ front-end but only fails with the C front-end:
static inline __attribute__((always_inline)) void ip_finish_output2(){}
void ip_fragment(void (*)(void));
static inline __attribute__((always_inline)) void ip_finish_output()
{
ip_fragment(ip_finish_output2);
ip_finish_output2();
}
void ip_mc_output()
{
ip_finish_output();
}
void ip_output()
{
ip_finish_output();
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29241