http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46714
Summary: [trans-mem] <built-in> aliased to undefined symbol with -O1 Product: gcc Version: trans-mem Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: patrick.marl...@gmail.com CC: r...@gcc.gnu.org, al...@gcc.gnu.org Created attachment 22571 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22571 testcase for this bug. There is a strange error when there is a weak_ref. g++ -O1 -o aliased_undef_sym.o -c -Wall -fgnu-tm aliased_undef_sym.cpp aliased_undef_sym.cpp:13:1: error: ‘<built-in>’ aliased to undefined symbol ‘_ZGTtN8BuildingD2Ev’