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



             Bug #: 56101

           Summary: pthread program abort

    Classification: Unclassified

           Product: gcc

           Version: 4.7.2

            Status: UNCONFIRMED

          Severity: major

          Priority: P3

         Component: libgcc

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: ry...@synopsys.com





Created attachment 29269

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29269

The preprocessed file



-Compiler informations:

g++ -v

Using built-in specs.

COLLECT_GCC=/remote/depotsrc/depotsrc/amd64-2.6/local_install/gcc-4.7.2_test2/bin/g++

COLLECT_LTO_WRAPPER=/remote/depotsrc/depotsrc/amd64-2.6/local_install/gcc-4.7.2_test2/libexec/gcc/x86_64-redhat-linux/4.7.2/lto-wrapper

Target: x86_64-redhat-linux

Configured with: ../../src/gcc-4.7.2/configure

--prefix=/remote/depotsrc/depotsrc/amd64-2.6/local_install/gcc-4.7.2_test2

--enable-bootstrap --enable-threads=posix --enable-checking=release

--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions

--enable-languages=c,c++,fortran --disable-libgcj --with-cpu=generic

--build=x86_64-redhat-linux

Thread model: posix

gcc version 4.7.2 (GCC)



- Command line triggers the bug:

ryang@sderh7 test2> mtest

Abort



- compiler outout:

/remote/depotsrc/depotsrc/amd64-2.6/local_install/gcc-4.7.2_test2/bin/g++ -I.

-Wall -Wextra -fno-strict-aliasing -fwrapv -m64 -c  -msse2 -mfpmath=sse 

-fno-omit-frame-pointer -fno-dollars-in-identifiers -save-temps -pthread -o

tmain.o tmain.C

/remote/depotsrc/depotsrc/amd64-2.6/local_install/gcc-4.7.2_test2/bin/g++

-static-libgcc -static-libstdc++  -o mtest tmain.o -pthread -lm -ldl



- the preprocessed file (*.i*)

see the attachment

Reply via email to