Command line: g++ -fipa-cp -fipa-cp-clone testcase.C Tested revisions: r158486 - fail r153685 - fail 4.4 r158133 - OK
Compiler output: $ g++ -fipa-cp -fipa-cp-clone -c testcase.C testcase.C: In member function 'virtual void B::_ZN1B1fEi.clone.0()': testcase.C:5:16: error: virtual void B::_ZN1B1fEi.clone.0() causes a section type conflict testcase.C:5:16: error: virtual void B::_ZN1B1fEi.clone.0() causes a section type conflict -- Summary: [4.5/4.6 Regression] error: function causes a section type conflict with -fipa-cp -fipa-cp-clone Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43801