This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/29241] [4.0/4.1/4.2 Regression] ICE with always inline



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]