This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/45152] LTO breaks C99 inline
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 29 Jan 2012 01:34:07 +0000
- Subject: [Bug c/45152] LTO breaks C99 inline
- Auto-submitted: auto-generated
- References: <bug-45152-4@http.gcc.gnu.org/bugzilla/>
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;
}