This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/28915] [4.2 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Aug 2006 19:15:45 -0000
- Subject: [Bug tree-optimization/28915] [4.2 regression] ICE: tree check: expected class 'constant', have 'declaration' (var_decl) in build_vector, at tree.c:973
- References: <bug-28915-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from uros at kss-loka dot si 2006-08-31 19:15 -------
Confirmed on x86_64.
Backtrace:
(gdb) bt
#0 build_vector (type=0x2aaaadb3e6e0, vals=0x2aaaadb37cc0) at
../../gcc-svn/trunk/gcc/tree.c:973
#1 0x00000000007b829d in force_const_mem (mode=V2DImode, x=0x2aaaada089e0) at
../../gcc-svn/trunk/gcc/varasm.c:3229
#2 0x00000000005d496a in emit_move_insn (x=0x2aaaadb309a0, y=0x2aaaada089e0)
at ../../gcc-svn/trunk/gcc/expr.c:3288
#3 0x00000000006b2ec6 in gen_vec_initv2di (operand0=0x2aaaadb309a0,
operand1=0x2aaaada089d0) at ../../gcc-svn/trunk/gcc/config/i386/sse.md:3678
#4 0x00000000005c9e37 in store_constructor (exp=0x2aaaadb37900,
target=0x2aaaadb309a0, cleared=0, size=16) at
../../gcc-svn/trunk/gcc/expr.c:5431
#5 0x00000000005ce327 in expand_expr_real_1 (exp=0x2aaaadb37900,
target=0x2aaaadb309a0, tmode=V2DImode, modifier=EXPAND_NORMAL,
alt_rtl=0x7fffffcf5800) at ../../gcc-svn/trunk/gcc/expr.c:7142
#6 0x00000000005d40cf in expand_expr_real (exp=0x2aaaadb37900,
target=0x2aaaadb309a0, tmode=V2DImode, modifier=EXPAND_NORMAL,
alt_rtl=0x7fffffcf5800) at ../../gcc-svn/trunk/gcc/expr.c:6706
#7 0x00000000005c7264 in store_expr (exp=0x2aaaadb37900,
target=0x2aaaadb309a0, call_param_p=0) at ../../gcc-svn/trunk/gcc/expr.c:4370
#8 0x00000000005c8397 in expand_assignment (to=0x2aaaadb3e0b0,
from=0x2aaaadb37900) at ../../gcc-svn/trunk/gcc/expr.c:4249
#9 0x00000000005cc403 in expand_expr_real_1 (exp=0x2aaaadb3c140, target=0x0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at
../../gcc-svn/trunk/gcc/expr.c:8603
#10 0x00000000005d40cf in expand_expr_real (exp=0x2aaaadb3c140,
target=0x2aaaad956400, tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at
../../gcc-svn/trunk/gcc/expr.c:6706
At the point of ICE, value dumps to:
<var_decl 0x2aaaadb3ea50 D.1935
type <vector_type 0x2aaaadb3e6e0
type <integer_type 0x2aaaad961630 long int public DI
size <integer_cst 0x2aaaad951db0 constant invariant 64>
unit size <integer_cst 0x2aaaad951de0 constant invariant 8>
align 64 symtab 0 alias set -1 precision 64 min <integer_cst
0x2aaaad951d20 -9223372036854775808> max <integer_cst 0x2aaaad951d50
9223372036854775807>
pointer_to_this <pointer_type 0x2aaaad974a50>>
V2DI
size <integer_cst 0x2aaaad96c0f0 constant invariant 128>
unit size <integer_cst 0x2aaaad96c120 constant invariant 16>
align 128 symtab 0 alias set -1 nunits 2>
V2DI file xskat-xdial.c line 16 size <integer_cst 0x2aaaad96c0f0 128> unit
size <integer_cst 0x2aaaad96c120 16>
align 128
(const:DI (plus:DI (symbol_ref:DI ("lanip") [flags 0x40] <var_decl
0x2aaaadb1cbb0 lanip>)
(const_int 40 [0x28])))>
--
uros at kss-loka dot si changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-08-31 19:15:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28915