Summary: | missed inlining extern template function | ||
---|---|---|---|
Product: | gcc | Reporter: | programmerjake |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | enhancement | CC: | webrown.cpp |
Priority: | P3 | Keywords: | missed-optimization |
Version: | 5.3.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2016-06-26 00:00:00 |
Description
programmerjake
2016-06-20 02:03:07 UTC
Confirmed. Without:
> template void fn2<false>();
No versions of GCC will inline fn2<false>
Starting in GCC 12, with that line still there, GCC does inline it now.
Dup. *** This bug has been marked as a duplicate of bug 104539 *** |