https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86208
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Known to work| |3.4.6
Version|unknown |8.1.1
Keywords| |link-failure
Last reconfirmed| |2018-06-19
Ever confirmed|0 |1
Summary|improper handling of an |[6/7/8/9 Regression]
|extern declared inline |improper handling of an
|function |extern declared inline
| |function
Target Milestone|--- |6.5
Known to fail| |4.0.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. clang++ compiles the code OK. We do so only when optimizing (and
then probably inlining the call). Seems to be an old regression.