http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48620
Summary: many libstdc++ tests FAIL with -m32
-fno-early-inlining -fipa-pta
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: [email protected]
ReportedBy: [email protected]
Host: x86_64-pc-linux-gnu
Target: i686-pc-linux-gnu
Created attachment 23993
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23993
auto-reduced testcase
List of exec failures with:
make -j6 -k check-target
RUNTESTFLAGS='--target_board=unix/-m32/-fno-early-inlining/-fipa-pta'
FAIL: 23_containers/unordered_map/erase/1.cc execution test
FAIL: 23_containers/unordered_multimap/erase/1.cc execution test
FAIL: 23_containers/unordered_multiset/erase/1.cc execution test
FAIL: 23_containers/unordered_set/erase/1.cc execution test
FAIL: tr1/6_containers/unordered_map/erase/1.cc execution test
FAIL: tr1/6_containers/unordered_map/erase/24061-map.cc execution test
FAIL: tr1/6_containers/unordered_map/insert/map_range.cc execution test
FAIL: tr1/6_containers/unordered_map/insert/map_single.cc execution test
FAIL: tr1/6_containers/unordered_multimap/erase/1.cc execution test
FAIL: tr1/6_containers/unordered_multimap/erase/24061-multimap.cc execution
test
FAIL: tr1/6_containers/unordered_multimap/insert/multimap_range.cc execution
test
FAIL: tr1/6_containers/unordered_multimap/insert/multimap_single.cc execution
test
FAIL: tr1/6_containers/unordered_multiset/erase/1.cc execution test
FAIL: tr1/6_containers/unordered_multiset/erase/24061-multiset.cc execution
test
FAIL: tr1/6_containers/unordered_multiset/insert/multiset_range.cc execution
test
FAIL: tr1/6_containers/unordered_multiset/insert/multiset_single.cc execution
test
FAIL: tr1/6_containers/unordered_set/erase/1.cc execution test
FAIL: tr1/6_containers/unordered_set/erase/24061-set.cc execution test
FAIL: tr1/6_containers/unordered_set/insert/set_range.cc execution test
FAIL: tr1/6_containers/unordered_set/insert/set_single.cc execution test
I wasn't able yet to get a nice testcase, the one attached has about 1000
lines. I am autoreducing other failures to see if there will be any suitable
for manual reduction...
Output:
$ g++ -m32 -std=gnu++0x -O2 -fno-early-inlining -fipa-pta testcase.C -w
$ ./a.out
a.out:
/mnt/svn/gcc-trunk/libstdc++-v3/testsuite/23_containers/unordered_map/erase/1.cc:116:
void test01(): Assertion `m1.erase(m1.begin()) != m1.end()' failed.
Aborted