https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72794
--- Comment #6 from Yuri Rumyantsev ---
Thanks for clarification.
This bug can be closed as user misunderstanding.
2016-08-04 14:08 GMT+03:00 rguenth at gcc dot gnu.org
:
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72794
--- Comment #5 from Richard Biener ---
No, it's not a bug in the LTO phase - C99 inline simply does _not_ emit a
out-of-line copy. You have to add a extern declaration to force that.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72794
--- Comment #4 from Yuri Rumyantsev ---
I assume that there is still issue in lto part of compiler - even if
we ignore "inline" attribute we (lto) must not delete such functions
from binaries. So this bug must be forwarded to lto phase.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72794
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72794
--- Comment #2 from Yuri Rumyantsev ---
Yes, this option cures CF. Does it mean that we must compile spec2000
with this flag?
2016-08-03 19:08 GMT+03:00 pinskia at gcc dot gnu.org
:
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72794
--- Comment #1 from Andrew Pinski ---
Can you try with -std=gnu90 and see if that fixes the issue.