[Bug other/25527] [gomp] segfault with locale

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 27 17:39:00 GMT 2006



------- Comment #7 from reichelt at gcc dot gnu dot org  2006-01-27 17:39 -------
Even more compact (because an ostringstream contains a locale as member):

========================
#include<locale>

int main()
{
    std::locale L;
    return 0;
}
========================

This alredy crashes with "-fopeenmp -m32" (i.e. without optimization).

It looks like we are crashing in the constructor of locale (which is
not in the header, but in the library that gets linked).


-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[gomp] segfault in          |[gomp] segfault with locale
                   |main.omp_fn.0 with -O2      |


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



More information about the Gcc-bugs mailing list