>From the libstdc++ performance testsuite: %/mnt/share/bld/gcc/./gcc/g++ -shared-libgcc -B/mnt/share/bld/gcc/./gcc -nostdinc++ -L/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/mnt/share/bld/H-x86-gcc/x86_64-unknown-linux-gnu/bin/ -B/mnt/share/bld/H-x86-gcc/x86_64-unknown-linux-gnu/lib/ -isystem /mnt/share/bld/H-x86-gcc/x86_64-unknown-linux-gnu/include -isystem /mnt/share/bld/H-x86-gcc/x86_64-unknown-linux-gnu/sys-include -nostdinc++ -I/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu -I/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include -I/mnt/share/src/gcc-trunk/libstdc++-v3/libsupc++ -I/mnt/share/src/gcc-trunk/libstdc++-v3/include/backward -I/mnt/share/src/gcc-trunk/libstdc++-v3/testsuite/util -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -std=gnu++0x -Wl,--rpath -Wl,/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/../../gcc -Wl,--rpath -Wl,/mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs /mnt/share/src/gcc-trunk/libstdc++-v3/testsuite/performance/ext/pb_ds/multimap_text_find_timing_large.cc ./libtestc++.a -o multimap_text_find_timing_large.ii In file included from /mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/move.h:38:0, from /mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/stl_pair.h:60, from /mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/stl_algobase.h:66, from /mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/bits/stl_tree.h:62, from /mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/set:60, from /mnt/share/src/gcc-trunk/libstdc++-v3/testsuite/util/io/text_populate.hpp:42, from /mnt/share/src/gcc-trunk/libstdc++-v3/testsuite/performance/ext/pb_ds/multimap_text_find_timing.hpp:38, from /mnt/share/src/gcc-trunk/libstdc++-v3/testsuite/performance/ext/pb_ds/multimap_text_find_timing_large.cc:32: /mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/type_traits: In instantiation of const bool std::__is_constructible_helper<__gnu_pbds::list_update<int, __gnu_pbds::null_mapped_type, std::equal_to<int>, __gnu_pbds::test::move_to_front_lu_policy_t_>, const std::basic_string<char>&&>::__value: /mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/type_traits:235:5: instantiated from std::is_constructible<__gnu_pbds::list_update<int, __gnu_pbds::null_mapped_type, std::equal_to<int>, __gnu_pbds::test::move_to_front_lu_policy_t_>, const std::basic_string<char>&&> /mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/cc_ht_map_.hpp:392:64: instantiated from here /mnt/share/bld/gcc/x86_64-unknown-linux-gnu/libstdc++-v3/include/type_traits:224:67: internal compiler error: in copy_fn_p, at cp/decl.c:9973 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
Compiling this without -std=gnu++0x is fine. -- Summary: ICE: copy_fn_p at cp/decl.c:9973 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bkoz at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42639