[Bug c/45152] LTO breaks C99 inline
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Jan 29 04:51:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45152
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|i686-pc-linux-gnu |
Last reconfirmed|2010-08-22 07:38:09 |2012-01-28
Host|i686-pc-linux-gnu |
Known to fail| |4.7.0
Build|i686-pc-linux-gnu |
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-29 01:34:07 UTC ---
Here is a simple testcase which shows the issue:
t.c:
inline int f()
{
return 5;
}
extern inline int f();
t1.c :
int main(void)
{
extern int f(void);
return f() != 5;
}
More information about the Gcc-bugs
mailing list