http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51118
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-11-14 23:18:29 UTC --- Created attachment 25821 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25821 Preprocessed source. Confirmed with attached source on x86_64 [uros@localhost libgcc]$ ~/gcc-build-fast/gcc/cc1 -quiet libgcc2.i ../../../../gcc-svn/trunk/libgcc/libgcc2.c: In function ‘__muldi3’: ../../../../gcc-svn/trunk/libgcc/libgcc2.c:553:3: internal compiler error: tree check: expected tree that contains ‘typed’ structure, have ‘block’ in fold_checksum_tree, at fold-const.c:14160 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Breakpoint 1, internal_error ( gmsgid=0x4a3c698 "tree check: expected tree that contains %qs structure, have %qs in %s, at %s:%d") at ../../gcc-svn/trunk/gcc/diagnostic.c:843 843 va_start (ap, gmsgid); (gdb) bt #0 internal_error ( gmsgid=0x4a3c698 "tree check: expected tree that contains %qs structure, have %qs in %s, at %s:%d") at ../../gcc-svn/trunk/gcc/diagnostic.c:843 #1 0x0000000002e5ff80 in tree_contains_struct_check_failed ( node=0x7fffee551b40, en=TS_TYPED, file=0x4839d90 "../../gcc-svn/trunk/gcc/fold-const.c", line=14160, function=0x483ecf0 "fold_checksum_tree") at ../../gcc-svn/trunk/gcc/tree.c:8987 #2 0x0000000000fcf7dc in fold_checksum_tree (expr=0x7fffee551b40, ctx=0x7fffffffc730, ht=0x602e740) at ../../gcc-svn/trunk/gcc/fold-const.c:14160 #3 0x0000000000fcff20 in fold_checksum_tree (expr=0x7ffff1b143f0, ctx=0x7fffffffc730, ht=0x602e740) at ../../gcc-svn/trunk/gcc/fold-const.c:14213 #4 0x0000000000fcff20 in fold_checksum_tree (expr=0x7ffff1ae4100, ctx=0x7fffffffc730, ht=0x602e740) at ../../gcc-svn/trunk/gcc/fold-const.c:14213 #5 0x0000000000fcefaa in fold (expr=0x7ffff1ae4100) at ../../gcc-svn/trunk/gcc/fold-const.c:14074 #6 0x0000000000602aac in c_fully_fold_internal (expr=0x7ffff1ae4100, in_init=0 '\000', maybe_const_operands=0x7fffffffd30f "", maybe_const_itself=0x7fffffffd26a "\001\001\377\177") at ../../gcc-svn/trunk/gcc/c-family/c-common.c:1152 #7 0x0000000000602555 in c_fully_fold (expr=0x7ffff1ae4100, in_init=0 '\000', maybe_const=0x7fffffffd30f "") at ../../gcc-svn/trunk/gcc/c-family/c-common.c:1060 #8 0x000000000055531c in output_init_element (value=0x7ffff1ae4100, origtype=0x0, strict_string=0 '\000', type=0x7ffff19a5738, field=0x7fffeff514c0, pending=1, implicit=0 '\000', braced_init_obstack=0x7fffffffdb70) at ../../gcc-svn/trunk/gcc/c-typeck.c:7817 #9 0x0000000000557dd2 in process_init_element (value=..., implicit=0 '\000', braced_init_obstack=0x7fffffffdb70) at ../../gcc-svn/trunk/gcc/c-typeck.c:8356 #10 0x00000000005a8fae in c_parser_initval (parser=0x7ffff1aa3de8, after=0x0, braced_init_obstack=0x7fffffffdb70) at ../../gcc-svn/trunk/gcc/c-parser.c:3995