http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47340
Summary: [trans-mem] problem with declaration of new operator
Product: gcc
Version: trans-mem
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
It seems that there is a problem with the declaration of new operator and
related to PR46941.
Attached the testcase.
$ g++ -I . -save-temps -fgnu-tm -c -o incomplete3.o incomplete3.cpp
...
incomplete3.cpp:31:67: error: call to function ‘void* operator new(long
unsigned int)’ which throws incomplete type ‘struct std::bad_alloc’
Patrick Marlier.