Executing on host: /home/dave/gcc-4.5/objdir/./gcc/g++ -shared-libgcc
-B/home/da
ve/gcc-4.5/objdir/./gcc -nostdinc++
-L/home/dave/gcc-4.5/objdir/hppa-linux/libst
dc++-v3/src -L/home/dave/gcc-4.5/objdir/hppa-linux/libstdc++-v3/src/.libs
-B/hom
e/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.5.0/
hppa-linux/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/include
-is
ystem /home/dave/opt/gnu/gcc/gcc-4.5.0/hppa-linux/sys-include -g -O2
-D_GLIBCXX_
ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2
-D_GNU_SOUR
CE -g -O2 -D_GNU_SOURCE -DLOCALEDIR="." -nostdinc++
-I/home/dave/gcc-4.5/objdir/
hppa-linux/libstdc++-v3/include/hppa-linux
-I/home/dave/gcc-4.5/objdir/hppa-linu
x/libstdc++-v3/include -I/home/dave/gcc-4.5/gcc/libstdc++-v3/libsupc++
-I/home/d
ave/gcc-4.5/gcc/libstdc++-v3/include/backward
-I/home/dave/gcc-4.5/gcc/libstdc++
-v3/testsuite/util
/home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/23_containers/l
ist/modifiers/swap/1.cc     ./libtestc++.a -Wl,--gc-sections  -lm   -o ./1.exe  
  (timeout = 600)
PASS: 23_containers/list/modifiers/swap/1.cc (test for excess errors)
Setting LD_LIBRARY_PATH to
:/home/dave/gcc-4.5/objdir/gcc:/home/dave/gcc-4.5/obj
dir/hppa-linux/./libstdc++-v3/../libgomp/.libs:/home/dave/gcc-4.5/objdir/hppa-li
nux/./libstdc++-v3/src/.libs::/home/dave/gcc-4.5/objdir/gcc:/home/dave/gcc-4.5/o
bjdir/hppa-linux/./libstdc++-v3/../libgomp/.libs:/home/dave/gcc-4.5/objdir/hppa-
linux/./libstdc++-v3/src/.libs
1.exe:
/home/dave/gcc-4.5/gcc/libstdc++-v3/testsuite/23_containers/list/modifier
s/swap/1.h:37: void swap11() [with _Tp = std::list<T>]: Assertion `1 ==
swap_cal
ls' failed.
FAIL: 23_containers/list/modifiers/swap/1.cc execution test

Doing a quick check with gdb, I find that the function to increment swap_calls,
_ZNSt4listI1TSaIS0_EE4swapERS2_, is not being called.  I don't have an exact
revision as to when this fail started, but I know the test was not failing
prior to the unit-at-a-time change.

This fail only occurs with pch disabled:

d...@gsyprf11:~/gcc-4.5/objdir/gcc$ ./xgcc -B./ -v
Reading specs from ./specs
Target: hppa-linux
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared
--enable-nls --prefix=/home/dave/opt/gnu/gcc/gcc-4.5.0
--with-local-prefix=/home/dave/opt/gnu --enable-threads=posix
--enable-__cxa_atexit --build=hppa-linux --enable-clocale=gnu
--enable-java-gc=boehm --enable-java-awt=xlib --enable-languages=c,c++
--disable-bootstrap --disable-libstdcxx-pch
Thread model: posix
gcc version 4.5.0 20090730 (experimental) [trunk revision 150259] (GCC)


-- 
           Summary: [4.5 Regression] FAIL:
                    23_containers/list/modifiers/swap/1.cc execution test
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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

Reply via email to