[Bug c++/42317] [4.5 Regression] Issues with comdat virtual dtors

debian-gcc at lists dot debian dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 8 08:56:00 GMT 2009



------- Comment #2 from debian-gcc at lists dot debian dot org  2009-12-08 08:56 -------
with the proposed patch applied, the build fails now with:

virtual __gnu_cxx::stdio_sync_filebuf<wchar_t>::~stdio_sync_filebuf()/243(191)
@0x4093abd0 availability:available 22 time, 11 benefit (
24 after inlining) 4 size, 2 benefit (6 after inlining) reachable body
externally_visible finalized inlinable
  called by: 
  calls: void operator delete(void*)/317 (1.00 per call)
__gnu_cxx::stdio_sync_filebuf<wchar_t>::~stdio_sync_filebuf()/113 (inlined) (1
.00 per call) 
../../../../src/libstdc++-v3/src/ios_init.cc:199:1: internal compiler error:
failed to reclaim unneeded function
Please submit a full bug report,
with preprocessed source if appropriate.

the file ios_init.ii builds with -O0, but not with -O1 or higher

  Matthias


-- 

debian-gcc at lists dot debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debian-gcc at lists dot
                   |                            |debian dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42317



More information about the Gcc-bugs mailing list