http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46560
Summary: libstdc++ execute FAILs with -flto Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: lto, wrong-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: rgue...@gcc.gnu.org make -k check-target-libstdc++-v3 RUNTESTFLAGS="--target_board=unix/-flto" yields Running target unix/-flto FAIL: 21_strings/basic_string/insert/char/1.cc execution test FAIL: 21_strings/basic_string/insert/wchar_t/1.cc execution test FAIL: 23_containers/deque/capacity/29134-2.cc execution test FAIL: 23_containers/deque/cons/2.cc execution test FAIL: 23_containers/forward_list/requirements/exception/basic.cc execution test FAIL: 23_containers/list/modifiers/3.cc execution test FAIL: 23_containers/list/modifiers/insert/25288.cc execution test FAIL: 23_containers/list/operations/5.cc execution test FAIL: 23_containers/list/requirements/exception/basic.cc execution test FAIL: 23_containers/multimap/requirements/exception/basic.cc execution test FAIL: 23_containers/multiset/requirements/exception/basic.cc execution test FAIL: 23_containers/unordered_map/dr761.cc execution test FAIL: 23_containers/unordered_map/requirements/exception/basic.cc execution test FAIL: 23_containers/unordered_multimap/requirements/exception/basic.cc execution test FAIL: 23_containers/unordered_multiset/requirements/exception/basic.cc execution test FAIL: 23_containers/unordered_set/requirements/exception/basic.cc execution test FAIL: 23_containers/vector/bool/modifiers/insert/31370.cc execution test FAIL: 23_containers/vector/capacity/2.cc execution test FAIL: 23_containers/vector/ext_pointer/modifiers/insert.cc execution test FAIL: 30_threads/promise/members/set_exception2.cc execution test FAIL: 30_threads/promise/members/set_value2.cc execution test FAIL: ext/bitmap_allocator/check_allocate_max_size.cc execution test FAIL: ext/pb_ds/regression/hash_data_map_rand.cc execution test FAIL: ext/pb_ds/regression/hash_no_data_map_rand.cc execution test FAIL: ext/pb_ds/regression/list_update_data_map_rand.cc execution test FAIL: ext/pb_ds/regression/list_update_no_data_map_rand.cc execution test FAIL: ext/pb_ds/regression/priority_queue_rand.cc execution test FAIL: ext/pb_ds/regression/tree_data_map_rand.cc execution test FAIL: ext/pb_ds/regression/tree_no_data_map_rand.cc execution test FAIL: ext/pb_ds/regression/trie_data_map_rand.cc execution test FAIL: ext/pb_ds/regression/trie_no_data_map_rand.cc execution test FAIL: ext/throw_allocator/check_deallocate_null.cc execution test