[Bug libstdc++/64813] 23_containers/unordered_map/requirements/explicit_instantiation/[2,4].cc iCEsA

howarth at bromo dot med.uc.edu gcc-bugzilla@gcc.gnu.org
Tue Jan 27 03:51:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64813

--- Comment #1 from howarth at bromo dot med.uc.edu ---
This backtraces as...

% lldb /sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/cc1plus          
(lldb) target create
"/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/cc1plus"
Current executable set to
'/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/cc1plus' (x86_64).
(lldb) r -fpreprocessed 2.ii -fPIC -feliminate-unused-debug-symbols -quiet
-dumpbase 2.cc -mmacosx-version-min=10.10.1 -m32 -mtune=core2 -auxbase-strip
2.s -g -O2 -std=gnu++11 -version -fmessage-length=0 -ffunction-sections
-fdata-sections -o 2.s
Process 39542 launched:
'/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./gcc/cc1plus' (x86_64)
GNU C++11 (GCC) version 5.0.0 20150126 (experimental)
(x86_64-apple-darwin14.1.0)
    compiled by GNU C version 5.0.0 20150126 (experimental), GMP version 6.0.0,
MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++11 (GCC) version 5.0.0 20150126 (experimental)
(x86_64-apple-darwin14.1.0)
    compiled by GNU C version 5.0.0 20150126 (experimental), GMP version 6.0.0,
MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 326a6834511bed8451b088dd7ccb3f51
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150126/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/2.cc:
In function ‘std::__detail::_Map_base<_Key, _Pair, _Alloc,
std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits,
true>::mapped_type& std::__detail::_Map_base<_Key, _Pair, _Alloc,
std::__detail::_Select1st, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits,
true>::at(const key_type&) [with _Key = __gnu_test::NonDefaultConstructible;
_Pair = std::pair<const __gnu_test::NonDefaultConstructible, double>; _Alloc =
std::allocator<std::pair<const __gnu_test::NonDefaultConstructible, double> >;
_Equal = std::equal_to<__gnu_test::NonDefaultConstructible>; _H1 =
__gnu_test::NonDefaultConstructible_hash; _H2 =
std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash;
_RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits =
std::__detail::_Hashtable_traits<true, false, true>]’:
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150126/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/2.cc:32:64:
error: LHS in noreturn call
 template class std::unordered_map<inst_type, double, hash_type>;
                                                                ^
# .MEM_3 = VDEF <.MEM_1(D)>
retval.525_4 = std::__detail::_Map_base<__gnu_test::NonDefaultConstructible,
std::pair<const __gnu_test::NonDefaultConstructible, double>,
std::allocator<std::pair<const __gnu_test::NonDefaultConstructible, double> >,
std::__detail::_Select1st, std::equal_to<__gnu_test::NonDefaultConstructible>,
__gnu_test::NonDefaultConstructible_hash, std::__detail::_Mod_range_hashing,
std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy,
std::__detail::_Hashtable_traits<true, false, true>,
true>::_ZNKSt8__detail9_Map_baseIN10__gnu_test23NonDefaultConstructibleESt4pairIKS2_dESaIS5_ENS_10_Select1stESt8equal_toIS2_ENS1_28NonDefaultConstructible_hashENS_18_Mod_range_hashingENS_20_Default_ranged_hashENS_20_Prime_rehash_policyENS_17_Hashtable_traitsILb1ELb0ELb1EEELb1EE2atERS4_.isra.98
(this_2(D)); [tail call]
/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20150126/libstdc++-v3/testsuite/23_containers/unordered_map/requirements/explicit_instantiation/2.cc:32:64:
internal compiler error: verify_gimple failed
Process 39542 stopped
* thread #1: tid = 0x449ca4, 0x00007fff94739286
libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread',
stop reason = signal SIGABRT
    frame #0: 0x00007fff94739286 libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill + 10:
-> 0x7fff94739286:  jae    0x7fff94739290            ; __pthread_kill + 20
   0x7fff94739288:  movq   %rax, %rdi
   0x7fff9473928b:  jmp    0x7fff94734c53            ; cerror_nocancel
   0x7fff94739290:  retq   
(lldb) bt
* thread #1: tid = 0x449ca4, 0x00007fff94739286
libsystem_kernel.dylib`__pthread_kill + 10, queue = 'com.apple.main-thread',
stop reason = signal SIGABRT
  * frame #0: 0x00007fff94739286 libsystem_kernel.dylib`__pthread_kill + 10
    frame #1: 0x00007fff9128c42f libsystem_pthread.dylib`pthread_kill + 90
    frame #2: 0x00007fff9b272b53 libsystem_c.dylib`abort + 129
    frame #3: 0x0000000100fe3dc6
cc1plus`uw_init_context_1(context=0x00007fff5fbfeae0,
outer_cfa=0x00007fff5fbfed90, outer_ra=0x0000000100f48585) + 134 at
unwind-dw2.c:1563
    frame #4: 0x0000000100fe4998
cc1plus`_Unwind_Backtrace(trace=0x0000000100f484e0,
trace_argument=0x00007fff5fbfed90) + 56 at unwind.inc:283
    frame #5: 0x0000000100f48585 cc1plus`backtrace_full(state=<unavailable>,
skip=<unavailable>, callback=<unavailable>, error_callback=<unavailable>,
data=<unavailable>) + 53 at backtrace.c:106
    frame #6: 0x0000000100f13f13
cc1plus`diagnostic_action_after_output(context=0x000000014179ea80,
diag_kind=<unavailable>) + 435 at diagnostic.c:529
    frame #7: 0x0000000100f14153
cc1plus`diagnostic_report_diagnostic(context=0x000000014179ea80,
diagnostic=0x00007fff5fbfee60) + 483 at diagnostic.c:869
    frame #8: 0x0000000100f156ab cc1plus`internal_error(gmsgid=<unavailable>) +
235 at diagnostic.c:1240
    frame #9: 0x0000000100bb89ef
cc1plus`verify_gimple_in_cfg(fn=0x0000000101c697e0, verify_nothrow=false) +
3167 at tree-cfg.c:5069
    frame #10: 0x0000000100a8cf0a
cc1plus`execute_function_todo(fn=0x0000000101c697e0, data=<unavailable>) + 586
at passes.c:1955
    frame #11: 0x0000000100a8d6a2
cc1plus`do_per_function(callback=0x0000000100a8ccc0, data=0x0000000000000040) +
226 at passes.c:1654
    frame #12: 0x0000000100a8d7fe cc1plus`execute_todo(flags=64) + 302 at
passes.c:2012
    frame #13: 0x0000000100a90281
cc1plus`execute_one_pass(pass=0x0000000142513590) + 481 at passes.c:2339
    frame #14: 0x0000000100a90e2a
cc1plus`execute_ipa_pass_list(pass=0x0000000142513590) + 154 at passes.c:2723
    frame #15: 0x000000010068c0d7 cc1plus`symbol_table::compile() + 301 at
cgraphunit.c:2137
    frame #16: 0x000000010068bfaa
cc1plus`symbol_table::compile(this=0x0000000142605000) + 1226
    frame #17: 0x000000010068e578
cc1plus`symbol_table::finalize_compilation_unit(this=0x0000000142605000) + 168
at timevar.h:110
    frame #18: 0x00000001001031f0 cc1plus`cp_write_global_declarations() + 4640
at decl2.c:4750
    frame #19: 0x0000000100b6f80f cc1plus`compile_file + 143 at toplev.c:608
    frame #20: 0x0000000100fe71a7 cc1plus`toplev::main(int, char**) + 1288 at
toplev.c:2050
    frame #21: 0x0000000100fe6c9f cc1plus`toplev::main(this=<unavailable>,
argc=22, argv=0x00007fff5fbff440) + 719
    frame #22: 0x0000000100fe7e6c cc1plus`main(argc=<unavailable>,
argv=<unavailable>) + 44 at main.c:39
    frame #23: 0x00007fff9699f5c9 libdyld.dylib`start + 1
(lldb)


More information about the Gcc-bugs mailing list