https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65944
Uroš Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-06-16 Target Milestone|--- |5.2 Summary|FAIL: g++.dg/lto/pr65276: |[5/6 Regression] FAIL: |undefined reference to |g++.dg/lto/pr65276: |std2::exception::~exception |undefined reference to |() |std2::exception::~exception | |() Ever confirmed|0 |1 --- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- The following patch fixes the same link failure on x86_64 CentOS 5.11: --cut here-- Index: g++.dg/lto/pr65276_0.C =================================================================== --- g++.dg/lto/pr65276_0.C (revision 224475) +++ g++.dg/lto/pr65276_0.C (working copy) @@ -59,3 +59,5 @@ }; static ios_base::Init __ioinit; } + +std2::exception::~exception() noexcept { } --cut here--