http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42146
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Version|unknown |4.7.0
Keywords| |ice-on-valid-code
Last reconfirmed| |2011.07.04 14:31:29
Component|target |c
CC| |gjl at gcc dot gnu.org
Ever Confirmed|0 |1
Known to fail| |4.6.1
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-04
14:31:29 UTC ---
This bug is still present in 4.7.0 trunk (AVR 175811).
As far as I can see, it's not a target bug. But unsure about the correct
component, I cose "translation" as of following stack trace:
Breakpoint 1, fancy_abort (file=0x88ef420
"../../../gcc.gnu.org/trunk/gcc/tree.c", line=6510, function=0x88f0dfb
"tree_low_cst") at ../../../gcc.gnu.org/trunk/gcc/diagnostic.c:893
(gdb) bt
#0 fancy_abort (file=0x88ef420 "../../../gcc.gnu.org/trunk/gcc/tree.c",
line=6510, function=0x88f0dfb "tree_low_cst") at
../../../gcc.gnu.org/trunk/gcc/diagnostic.c:893
#1 0x086b6681 in tree_low_cst (t=0xb7dcf3d4, pos=1) at
../../../gcc.gnu.org/trunk/gcc/tree.c:6510
#2 0x0810020c in process_init_element (value={value = 0xb7dc3ea0,
original_code = STRING_CST, original_type = 0x0}, implicit=0 '\0',
braced_init_obstack=0xbfffe27c) at
../../../gcc.gnu.org/trunk/gcc/c-typeck.c:8303
#3 0x0811fc17 in c_parser_initval (parser=0xb7dd5ab8, after=0x0,
braced_init_obstack=0xbfffe27c) at
../../../gcc.gnu.org/trunk/gcc/c-parser.c:3894
#4 0x0811f547 in c_parser_braced_init (parser=0xb7dd5ab8, type=0xb7d4e618,
nested_p=0 '\0') at ../../../gcc.gnu.org/trunk/gcc/c-parser.c:3868
#5 0x08113e5b in c_parser_declaration_or_fndef (parser=0xb7dd5ab8, fndef_ok=1
'\001', static_assert_ok=<value optimized out>, empty_ok=1 '\001', nested=0
'\0', start_attr_ok=<value optimized out>, objc_foreach_object_declaration=0x0)
at ../../../gcc.gnu.org/trunk/gcc/c-parser.c:3608
#6 0x0812308a in c_parser_external_declaration (parser=0xb7dd5ab8) at
../../../gcc.gnu.org/trunk/gcc/c-parser.c:1335
#7 0x081238cb in c_parse_file () at
../../../gcc.gnu.org/trunk/gcc/c-parser.c:1223
#8 0x0816a775 in c_common_parse_file () at
../../../gcc.gnu.org/trunk/gcc/c-family/c-opts.c:1094
#9 0x084c548e in compile_file () at
../../../gcc.gnu.org/trunk/gcc/toplev.c:548
#10 0x084c754d in do_compile () at ../../../gcc.gnu.org/trunk/gcc/toplev.c:1895
#11 0x084c76c5 in toplev_main (argc=19, argv=0xbfffe544) at
../../../gcc.gnu.org/trunk/gcc/toplev.c:1967
#12 0x08183df2 in main (argc=717, argv=0x0) at
../../../gcc.gnu.org/trunk/gcc/main.c:36
(gdb)