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

           Summary: SEGV within __gnu_cxx::bitmap_allocator if used within
                    in constructor of global static
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: cra...@postincrement.com


Created attachment 24275
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24275
preprocessed file

A SEGV is generated if __gnu_cxx::bitmap_allocator is used within the
constructor of a global static. 

This does not occur for gcc versions prior to gcc 4.4.0 (approximately), and
does not occur if the same code is used with the std::allocator or
__gnu_cxx::__mt_alloc allocators.

Host system: (uname -a)
Linux shogun.erina.postincrement.net 2.6.32.16-150.fc12.x86_64 #1 SMP Sat Jul
24 05:19:12 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux

g++ version is compiled from release tarball, no patches

g++ (GCC) 4.6.0
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

t.ii file is attached

Reply via email to