http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47747
Summary: [trans-mem] unsafe virtual function not properly displayed Product: gcc Version: trans-mem Status: UNCONFIRMED Severity: minor 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 23348 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23348 testcase that shows the error If a virtual function is not annotated as transaction safe and called in a transaction safe function, gcc raises an unsafe function error but it doesn't print correctly the function name. $ g++ -fgnu-tm -S -O0 unsafe_virtual.i unsafe_virtual.i: In constructor ‘Building::Building(InputStream*)’: unsafe_virtual.i:17:30: error: unsafe function call ‘#‘obj_type_ref’ not supported by dump_decl#<declaration error>’ within ‘transaction_safe’ function Attached a testcase. Patrick Marlier.