Revision 126197M. $ g++ -g -O2 -c -march=nocona t4.cc
In file included from t.cc:35: ../../cln/src/polynomial/elem/cl_UP_MI.h: In function const cln::cl_ring_element cln::modint_eval(cln::cl_heap_univpoly_ring*, const cln::_cl_UP&, const cln::cl_ring_element&): ../../cln/src/polynomial/elem/cl_UP_MI.h:408: internal compiler error: Aborted Please submit a full bug report, gdb --args /home/ralf/gcc-test/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.3.0/cc1plus -quiet -v -iprefix /home/ralf/gcc-test/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.0/ -D_GNU_SOURCE t3.cc -quiet -dumpbase t3.cc -march=nocona -auxbase t3 -g -O2 -version -o /tmp/t.s $ r Starting program: /home/ralf/gcc-test/libexec/gcc/x86_64-unknown-linux-gnu/4.3.0/cc1plus -quiet -iprefix /home/ralf/gcc-test/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.3.0/ -D_GNU_SOURCE t3.cc -quiet -dumpbase t3.cc -march=nocona -auxbase t3 -g -O2 -version -o /tmp/t.s GNU C++ version 4.3.0 20070702 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.0.3 (Ubuntu 4.0.3-1ubuntu5), GMP version 4.2.1, MPFR version 2.2.1. GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 Compiler executable checksum: 1e25aab89bdf01941c70eb84bbaffe56 Program received signal SIGABRT, Aborted. 0x00002aaaaad4b11d in raise () from /lib/libc.so.6 $ (gdb) bt full #0 0x00002aaaaad4b11d in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00002aaaaad4c84e in abort () from /lib/libc.so.6 No symbol table info available. #2 0x0000000000bbb855 in htab_clear_slot (htab=0x11011f0, slot=0x4fcd) at ../../gcc/libiberty/hashtab.c:722 No locals. #3 0x000000000049a9a9 in fixed_type_or_null (instance=<value optimized out>, nonnull=0x7fffffc03e44, cdtorp=0x7fffffc03dec) at ../../gcc/gcc/cp/class.c:5380 __t = <value optimized out> __FUNCTION__ = "fixed_type_or_null" #4 0x000000000049ad81 in resolves_to_fixed_type_p (instance=0x4fcd, nonnull=0x4fcd) at ../../gcc/gcc/cp/class.c:5412 t = (tree) 0x2aaaad439300 __FUNCTION__ = "resolves_to_fixed_type_p" cdtorp = 0 fixed = <value optimized out> #5 0x000000000049b206 in build_base_path (code=PLUS_EXPR, expr=0x2aaaad5a7d40, binfo=0x2aaaad40fd00, nonnull=1) at ../../gcc/gcc/cp/class.c:291 __t = <value optimized out> v_binfo = (tree) 0x0 d_binfo = (tree) 0x2aaaad40fc80 probe = <value optimized out> offset = (tree) 0x2aaaaafb5720 target_type = <value optimized out> null_test = <value optimized out> ptr_target_type = <value optimized out> fixed_type_p = <value optimized out> want_pointer = 1 __FUNCTION__ = "build_base_path" has_empty = 0 '\0' virtual_access = <value optimized out> #6 0x000000000040f86b in build_over_call (cand=0x115a040, flags=3) at ../../gcc/gcc/cp/call.c:4918 a = <value optimized out> fn = (tree) 0x2aaaad422200 args = (tree) 0x2aaaad5a6c90 convs = (conversion **) 0x1159fe8 conv = <value optimized out> parm = (tree) 0x2aaaad4268d0 __FUNCTION__ = "build_over_call" parmlen = <value optimized out> arg = <value optimized out> val = <value optimized out> i = 0 j = 0 is_method = 0 nargs = 2 argarray = <value optimized out> #7 0x000000000041167b in build_new_method_call (instance=0x2aaaad5a7cc0, fns=0x2aaaad422200, args=0x0, conversion_path=<value optimized out>, flags=3, fn_p=0x0) at ../../gcc/gcc/cp/call.c:5598 type = <value optimized out> candidates = (struct z_candidate *) 0x115a040 cand = (struct z_candidate *) 0x115a040 explicit_targs = (tree) 0x0 basetype = (tree) 0x2aaaad429180 access_binfo = (tree) 0x2aaaad40fc80 optype = (tree) 0x0 mem_args = (tree) 0x2aaaad5a6c90 instance_ptr = (tree) 0x2aaaad5a7d40 name = (tree) 0x2aaaab403a80 user_args = (tree) 0x0 call = <value optimized out> fn = <value optimized out> class_type = (tree) 0x2aaaad429240 template_only = 0 any_viable_p = 1 '\001' p = (void *) 0x1159fe8 __FUNCTION__ = "build_new_method_call" #8 0x00000000004c7433 in cp_parser_unary_expression (parser=0x2aaaaafbbd20, address_p=<value optimized out>, cast_p=<value optimized out>) at ../../gcc/gcc/cp/parser.c:4607 instance = (tree) 0x2aaaad5a7cc0 fn = (tree) 0x2aaaad5a7d00 token = <value optimized out> unary_operator = <value optimized out> __FUNCTION__ = "cp_parser_unary_expression" #9 0x00000000004c7d4d in cp_parser_assignment_expression (parser=0x2aaaaafbbd20, cast_p=<value optimized out>) at ../../gcc/gcc/cp/parser.c:5909 expr = <value optimized out> #10 0x00000000004c894c in cp_parser_constant_expression (parser=0x4fcd, allow_non_constant_p=1 '\001', non_constant_p=0x6 <Address 0x6 out of bounds>) at ../../gcc/gcc/cp/parser.c:6299 saved_integral_constant_expression_p = 0 '\0' saved_allow_non_integral_constant_expression_p = 0 '\0' saved_non_integral_constant_expression_p = 1 '\001' expression = (tree) 0x6 #11 0x00000000004d01b7 in cp_parser_initializer_clause (parser=0x2aaaaafbbd20, non_constant_p=0x7fffffc042c7 "") at ../../gcc/gcc/cp/parser.c:13507 initializer = <value optimized out> __FUNCTION__ = "cp_parser_initializer_clause" #12 0x00000000004d371d in cp_parser_init_declarator (parser=0x2aaaaafbbd20, decl_specifiers=0x7fffffc04310, checks=0x0, function_definition_allowed_p=<value optimized out>, member_p=0 '\0', declares_class_or_enum=<value optimized out>, function_definition_p=0x7fffffc0436f "") at ../../gcc/gcc/cp/parser.c:13459 token = <value optimized out> declarator = (cp_declarator *) 0x105b8d0 prefix_attributes = (tree) 0x0 attributes = (tree) 0x0 asm_specification = (tree) 0x0 initializer = <value optimized out> decl = (tree) 0x2aaaad5a3840 scope = (tree) 0x0 is_initialized = 1 '\001' initialization_kind = CPP_EQ is_parenthesized_init = 0 '\0' is_non_constant_init = 0 '\0' ctor_dtor_or_conv_p = 0 friend_p = 0 '\0' pushed_scope = (tree) 0x0 #13 0x00000000004c3aec in cp_parser_simple_declaration (parser=0x2aaaaafbbd20, function_definition_allowed_p=0 '\0') at ../../gcc/gcc/cp/parser.c:7851 function_definition_p = 0 '\0' decl = (tree) 0x1 decl_specifiers = {specs = {0 <repeats 14 times>}, type = 0x2aaaab475410, attributes = 0x0, redefined_builtin_type = 0x0, storage_class = sc_none, user_defined_type_p = 1, multiple_types_p = 0, conflicting_specifiers_p = 0, any_specifiers_p = 1, explicit_int_p = 0, explicit_char_p = 0} declares_class_or_enum = 0 saw_declarator = 1 '\001' __FUNCTION__ = "cp_parser_simple_declaration" #14 0x00000000004c3f97 in cp_parser_block_declaration (parser=0x2aaaaafbbd20, statement_p=1 '\001') at ../../gcc/gcc/cp/parser.c:7751 saved_pedantic = <value optimized out> #15 0x00000000004c4da4 in cp_parser_declaration_statement (parser=0x2aaaaafbbd20) at ../../gcc/gcc/cp/parser.c:7420 No locals. #16 0x00000000004c4f7b in cp_parser_statement (parser=0x2aaaaafbbd20, in_statement_expr=0x0, in_compound=1 '\001', if_p=0x0) at ../../gcc/gcc/cp/parser.c:6650 statement = (tree) 0x1 token = <value optimized out> statement_location = {file = 0x103d430 "../../cln/src/polynomial/elem/cl_UP_MI.h", line = 408} #17 0x00000000004c5bcd in cp_parser_statement_seq_opt (parser=0x2aaaaafbbd20, in_statement_expr=0x0) at ../../gcc/gcc/cp/parser.c:6845 token = <value optimized out> #18 0x00000000004c5c9c in cp_parser_compound_statement (parser=0x2aaaaafbbd20, in_statement_expr=0x0, in_try=<value optimized out>) at ../../gcc/gcc/cp/parser.c:6802 compound_stmt = (tree) 0x2aaaad59fe70 #19 0x00000000004c54a7 in cp_parser_statement (parser=0x2aaaaafbbd20, in_statement_expr=0x0, in_compound=1 '\001', if_p=0x0) at ../../gcc/gcc/cp/parser.c:6618 expr = <value optimized out> statement = <value optimized out> token = <value optimized out> statement_location = {file = 0x103d430 "../../cln/src/polynomial/elem/cl_UP_MI.h", line = 406} #20 0x00000000004c5bcd in cp_parser_statement_seq_opt (parser=0x2aaaaafbbd20, in_statement_expr=0x0) at ../../gcc/gcc/cp/parser.c:6845 token = <value optimized out> #21 0x00000000004c5c9c in cp_parser_compound_statement (parser=0x2aaaaafbbd20, in_statement_expr=0x0, in_try=<value optimized out>) at ../../gcc/gcc/cp/parser.c:6802 compound_stmt = (tree) 0x2aaaad59fdb0 #22 0x00000000004c54a7 in cp_parser_statement (parser=0x2aaaaafbbd20, in_statement_expr=0x0, in_compound=1 '\001', if_p=0x0) at ../../gcc/gcc/cp/parser.c:6618 expr = <value optimized out> statement = <value optimized out> token = <value optimized out> statement_location = {file = 0x103d430 "../../cln/src/polynomial/elem/cl_UP_MI.h", line = 402} #23 0x00000000004c5bcd in cp_parser_statement_seq_opt (parser=0x2aaaaafbbd20, in_statement_expr=0x0) at ../../gcc/gcc/cp/parser.c:6845 token = <value optimized out> #24 0x00000000004c5c9c in cp_parser_compound_statement (parser=0x2aaaaafbbd20, in_statement_expr=0x0, in_try=<value optimized out>) at ../../gcc/gcc/cp/parser.c:6802 compound_stmt = (tree) 0x2aaaad59f8d0 #25 0x00000000004d2865 in cp_parser_ctor_initializer_opt_and_function_body ( parser=0x2aaaaafbbd20) at ../../gcc/gcc/cp/parser.c:13399 __t = <value optimized out> body = (tree) 0x0 #26 0x00000000004d2f1e in cp_parser_function_definition_after_declarator ( parser=0x2aaaaafbbd20, inline_p=0 '\0') at ../../gcc/gcc/cp/parser.c:16418 fn = <value optimized out> ctor_initializer_p = <value optimized out> saved_in_unbraced_linkage_specification_p = 0 '\0' saved_in_function_body = 0 '\0' saved_num_template_parameter_lists = 0 #27 0x00000000004d36cd in cp_parser_init_declarator (parser=0x2aaaaafbbd20, decl_specifiers=0x7fffffc04750, checks=0x0, function_definition_allowed_p=1 '\001', member_p=0 '\0', declares_class_or_enum=<value optimized out>, function_definition_p=0x7fffffc047af "\001") at ../../gcc/gcc/cp/parser.c:16354 token = <value optimized out> declarator = (cp_declarator *) 0x105b890 prefix_attributes = (tree) 0x0 attributes = (tree) 0x0 asm_specification = (tree) 0x0 initializer = <value optimized out> decl = <value optimized out> scope = (tree) 0x0 is_initialized = <value optimized out> initialization_kind = <value optimized out> is_parenthesized_init = <value optimized out> is_non_constant_init = <value optimized out> ctor_dtor_or_conv_p = <value optimized out> friend_p = <value optimized out> pushed_scope = (tree) 0x0 #28 0x00000000004c3aec in cp_parser_simple_declaration (parser=0x2aaaaafbbd20, function_definition_allowed_p=1 '\001') at ../../gcc/gcc/cp/parser.c:7851 function_definition_p = 1 '\001' decl = (tree) 0x2aaaab1ca240 decl_specifiers = {specs = {0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0}, type = 0x2aaaacc6fa90, attributes = 0x0, redefined_builtin_type = 0x0, storage_class = sc_static, user_defined_type_p = 1, multiple_types_p = 0, conflicting_specifiers_p = 0, any_specifiers_p = 1, explicit_int_p = 0, explicit_char_p = 0} declares_class_or_enum = 0 saw_declarator = 1 '\001' __FUNCTION__ = "cp_parser_simple_declaration" #29 0x00000000004c3f97 in cp_parser_block_declaration (parser=0x2aaaaafbbd20, statement_p=0 '\0') at ../../gcc/gcc/cp/parser.c:7751 saved_pedantic = <value optimized out> #30 0x00000000004d68aa in cp_parser_declaration (parser=0x2aaaaafbbd20) at ../../gcc/gcc/cp/parser.c:7659 token1 = {type = 69, keyword = RID_STATIC, flags = 64 '@', pragma_kind = PRAGMA_NONE, in_system_header = 0, implicit_extern_c = 0, ambiguous_p = 1, input_file_stack_index = 421, u = {tree_check_value = 0x2aaaaafc5180, value = 0x2aaaaafc5180}, location = { file = 0x103d430 "../../cln/src/polynomial/elem/cl_UP_MI.h", line = 401}} token2 = {type = 69, keyword = RID_CONST, flags = 1 '\001', pragma_kind = PRAGMA_NONE, in_system_header = 0, implicit_extern_c = 0, ambiguous_p = 1, input_file_stack_index = 421, u = {tree_check_value = 0x2aaaaafc4540, value = 0x2aaaaafc4540}, location = { file = 0x103d430 "../../cln/src/polynomial/elem/cl_UP_MI.h", line = 401}} saved_pedantic = <value optimized out> #31 0x00000000004d6f15 in cp_parser_declaration_seq_opt (parser=0x2aaaaafbbd20) at ../../gcc/gcc/cp/parser.c:7554 token = (cp_token *) 0x2aaaabfff3a0 #32 0x00000000004d69b0 in cp_parser_declaration (parser=0x2aaaaafbbd20) at ../../gcc/gcc/cp/parser.c:11288 token1 = {type = 69, keyword = RID_NAMESPACE, flags = 64 '@', pragma_kind = PRAGMA_NONE, in_system_header = 0, implicit_extern_c = 0, ambiguous_p = 1, input_file_stack_index = 421, u = {tree_check_value = 0x2aaaaafc4cc0, value = 0x2aaaaafc4cc0}, location = { file = 0x103d430 "../../cln/src/polynomial/elem/cl_UP_MI.h", line = 5}} token2 = {type = CPP_NAME, keyword = RID_MAX, flags = 1 '\001', pragma_kind = PRAGMA_NONE, in_system_header = 0, implicit_extern_c = 0, ambiguous_p = 0, input_file_stack_index = 421, u = {tree_check_value = 0x2aaaab1ca240, value = 0x2aaaab1ca240}, location = { file = 0x103d430 "../../cln/src/polynomial/elem/cl_UP_MI.h", line = 5}} saved_pedantic = <value optimized out> #33 0x00000000004d6f15 in cp_parser_declaration_seq_opt (parser=0x2aaaaafbbd20) at ../../gcc/gcc/cp/parser.c:7554 token = (cp_token *) 0x2aaaabfe3c00 #34 0x00000000004d728e in c_parse_file () at ../../gcc/gcc/cp/parser.c:2966 already_called = 1 '\001' #35 0x000000000059374a in c_common_parse_file (set_yydebug=<value optimized out>) at ../../gcc/gcc/c-opts.c:1278 i = 0 __FUNCTION__ = "c_common_parse_file" #36 0x00000000007d9cde in toplev_main (argc=<value optimized out>, argv=<value optimized out>) at ../../gcc/gcc/toplev.c:1051 No locals. #37 0x00002aaaaad3849b in __libc_start_main () from /lib/libc.so.6 No symbol table info available. #38 0x0000000000403cfa in _start () at ../sysdeps/x86_64/elf/start.S:113 No locals. (gdb) -- Summary: abort in libiberty:htab_clear_slot Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Ralf dot Wildenhues at gmx dot de GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32595