Ran gcc testsuite and got a lot of c++ testsuite failures like for
g++.dg/eh/cond1.C:
...
terminate called after throwing an instance of 'int'
terminate called recursively
...

Compiler details:
Target: arm-linux-gnueabi
Configured with:
/work/psl/eldk-builds/arm-2008-09-10/work/usr/src/denx/BUILD/crosstool-0.43/build/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueabi/gcc-4.2.2/configure
--target=arm-linux-gnueabi --host=i686-host_pc-linux-gnu
--prefix=/var/tmp/eldk.tL5647/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueabi
--disable-hosted-libstdcxx
--with-headers=/var/tmp/eldk.tL5647/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueabi/arm-linux-gnueabi/include
--with-local-prefix=/var/tmp/eldk.tL5647/usr/crosstool/gcc-4.2.2-glibc-20070515T2025-eldk/arm-linux-gnueabi/arm-linux-gnueabi
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c,c++,java --enable-shared --enable-c99 --enable-long-long
--without-x
Thread model: posix
gcc version 4.2.2

It's interesting that statically-built binary run OK.
Also, according to testresults in
http://gcc.gnu.org/ml/gcc-testresults/2007-09/msg00570.html , this should work,
unless got broken in release version.

Known to work on powerpc, toolchain is the same.


-- 
           Summary: terminate called after throwing and instance of 'XXX'
                    c++ testsuite failures
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sposelenov at emcraft dot com
  GCC host triplet: i386-linux
GCC target triplet: arm-linux-gnueabi


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

Reply via email to