This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/28915] [4.1 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973



------- Comment #24 from jakub at gcc dot gnu dot org  2006-11-14 09:29 -------
This change breaks bootstrap on x86_64-linux and i386-linux:
/usr/src/gcc-4.1/obj/./gcc/xgcc -B/usr/src/gcc-4.1/obj/./gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -O2  -O2 -g -O2  -DIN_GCC    -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/../include -I../../gcc/../libcpp/include  -m32 -fexceptions
-fvisibility=hidden -DHIDE_EXPORTS -c ../../gcc/unwind-dw2.c -o
libgcc/32/unwind-dw2.o
../../gcc/unwind-dw2.c: In function 'uw_install_context_1':
../../gcc/unwind-dw2.c:1334: error: unrecognizable insn:
(insn:HI 159 44 160 4 (set (reg:SI 102)
        (unspec:SI [
                (symbol_ref:SI ("dwarf_reg_size_table") [flags 0x2] <var_decl
0x2aaaab051210 dwarf_reg_size_table>)
            ] 1)) -1 (nil)
    (nil))
../../gcc/unwind-dw2.c:1334: internal compiler error: in extract_insn, at
recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

The problematic part is the make_tree addition.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28915


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]