https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |11.0
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757
Language Lawyer changed:
What|Removed |Added
CC||language.lawyer at gmail dot
com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757
Jonathan Wakely changed:
What|Removed |Added
Keywords||link-failure
Last reconfirmed|2012-0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757
--- Comment #4 from Jonathan Wakely 2012-01-05
10:42:56 UTC ---
Also, if there's no definition, why would it link when -fkeep-inline-functions
is used? My guess would be that the call in main doesn't mark the inline
function as used, so it is no
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757
Jonathan Wakely changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51757
--- Comment #1 from Jonathan Wakely 2012-01-05
01:34:21 UTC ---
Curious. It still fails even if there is a declaration of func at namespace
scope.
It works with -fkeep-inline-functions