https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114643
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
||a/show_bug.cgi?id=67650,
||https://gcc.gnu.org/bugzill
||a/show_bug.cgi?id=80916
Known to fail||8.1.0
Summary|Call to a template function |[11/12/13/14 Regression]
|emitted but without the |Call to a template function
|code for the template |emitted but without the
|function itself |code for the template
||function itself
Target Milestone|--- |11.5
Known to work||7.5.0
Depends on|62051, 93115|
--- Comment #4 from Andrew Pinski ---
Actually it more closely related to PR 67650 (and PR 80916) but both of those
were fixed. Looks like even though the function is not static, we are thinking
we can still refer to it.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62051
[Bug 62051] [11/12/13/14 Regression] Undefined reference to vtable with -O2 and
-fdevirtualize-speculatively
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93115
[Bug 93115] gcc fails to emit inline function on llvm-roc project: -O1 -fPIC
-fdevirtualize -fdevirtualize-speculatively -fipa-cp -fipa-cp-clone
-fvisibility-inlines-hidden