------- Comment #8 from steven at gcc dot gnu dot org 2010-02-18 23:44 ------- I can confirm the second bug, which is a checking failure in varasm.c, with GCC 4.4.2 for arm-wince-pe:
(gdb) run Starting program: /home/stevenb/devel/build-4.4.2/gcc/cc1 -DCRASH k.c ff_fill_linesize Analyzing compilation unit k.c:2: warning: array ‘av_pix_fmt_descriptors’ assumed to have one element Performing interprocedural optimizations <visibility> <early_local_cleanups> <summary generate> <inline>Assembling functions: Breakpoint 1, fancy_abort (file=0xf5a7db "../../gcc-4.4.2/gcc/varasm.c", line=2144, function=0xf5d0e0 "assemble_variable") at ../../gcc-4.4.2/gcc/diagnostic.c:712 712 internal_error ("in %s, at %s:%d", function, trim_filename (file), line); (gdb) up #1 0x0000000000b4717b in assemble_variable (decl=0x7ffff7f62000, top_level=0, at_end=1, dont_output_data=0) at ../../gcc-4.4.2/gcc/varasm.c:2144 2144 gcc_assert (GET_CODE (XEXP (decl_rtl, 0)) == SYMBOL_REF); (gdb) p debug_rtx(decl_rtl) (mem/s/c:BLK (mem:SI (symbol_ref:SI ("@i.__imp_av_pix_fmt_descriptors")) [0 S4 A32]) [0 av_pix_fmt_descriptors+0 S4 A32]) $1 = void (gdb) p debug_tree(decl) <var_decl 0x7ffff7f62000 av_pix_fmt_descriptors type <array_type 0x7ffff7f51d80 type <integer_type 0x7ffff7e89600 int public SI size <integer_cst 0x7ffff7e7a930 constant 32> unit size <integer_cst 0x7ffff7e7a5a0 constant 4> align 32 symtab 0 alias set -1 canonical type 0x7ffff7e89600 precision 32 min <integer_cst 0x7ffff7e7a8a0 -2147483648> max <integer_cst 0x7ffff7e7a8d0 2147483647> pointer_to_this <pointer_type 0x7ffff7e9ba80>> SI size <integer_cst 0x7ffff7e7a930 32> unit size <integer_cst 0x7ffff7e7a5a0 4> align 32 symtab 0 alias set -1 canonical type 0x7ffff7f51d80 domain <integer_type 0x7ffff7f51e40 type <integer_type 0x7ffff7e890c0 long unsigned int> SI size <integer_cst 0x7ffff7e7a930 32> unit size <integer_cst 0x7ffff7e7a5a0 4> align 32 symtab 0 alias set -1 canonical type 0x7ffff7f51e40 precision 32 min <integer_cst 0x7ffff7e7a5d0 0> max <integer_cst 0x7ffff7e7a5d0 0>>> addressable asm_written used public static external common BLK file k.c line 2 col 32 size <integer_cst 0x7ffff7e7a930 32> unit size <integer_cst 0x7ffff7e7a5a0 4> align 32 attributes <tree_list 0x7ffff7f612d0> (mem/s/c:BLK (mem:SI (symbol_ref:SI ("@i.__imp_av_pix_fmt_descriptors")) [0 S4 A32]) [0 av_pix_fmt_descriptors+0 S4 A32]) chain <function_decl 0x7ffff7f50d00 ff_fill_linesize>> $2 = void (gdb) bt 10 #0 fancy_abort (file=0xf5a7db "../../gcc-4.4.2/gcc/varasm.c", line=2144, function=0xf5d0e0 "assemble_variable") at ../../gcc-4.4.2/gcc/diagnostic.c:712 #1 0x0000000000b4717b in assemble_variable (decl=0x7ffff7f62000, top_level=0, at_end=1, dont_output_data=0) at ../../gcc-4.4.2/gcc/varasm.c:2144 #2 0x0000000000bd868a in varpool_assemble_decl (node=0x7ffff7f56e20) at ../../gcc-4.4.2/gcc/varpool.c:356 #3 0x0000000000b8e5b4 in cgraph_output_in_order () at ../../gcc-4.4.2/gcc/cgraphunit.c:1199 #4 0x0000000000b8e89b in cgraph_optimize () at ../../gcc-4.4.2/gcc/cgraphunit.c:1306 #5 0x0000000000430eba in c_write_global_declarations () at ../../gcc-4.4.2/gcc/c-decl.c:8109 #6 0x00000000008da9d8 in compile_file () at ../../gcc-4.4.2/gcc/toplev.c:981 #7 0x00000000008dc693 in do_compile () at ../../gcc-4.4.2/gcc/toplev.c:2197 #8 0x00000000008dc702 in toplev_main (argc=3, argv=0x7fffffffe268) at ../../gcc-4.4.2/gcc/toplev.c:2229 #9 0x00000000004d883c in main (argc=3, argv=0x7fffffffe268) at ../../gcc-4.4.2/gcc/main.c:35 (gdb) I am unable to reproduce the "unrecognizable insn" ICE of comment #0. -- steven at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2010-02-18 23:15:32 |2010-02-18 23:44:07 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43047