This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ ICE in expr.c:store_expr (g++ 2.96 20000327 on i686-pc-linux-gnu)
- To: gcc-bugs at gcc dot gnu dot org, mark at codesourcery dot com, jason at cygnus dot com, snyder at fnal dot gov
- Subject: Re: g++ ICE in expr.c:store_expr (g++ 2.96 20000327 on i686-pc-linux-gnu)
- From: Benjamin Kosnik <bkoz at cygnus dot com>
- Date: Wed, 29 Mar 2000 11:43:34 -0800
I've verified that this is still an issue on today's CVS g++. Also, I
started to track down a bug that seemed similar:
http://gcc.gnu.org/ml/gcc-bugs/2000-03/msg01108.html
It turns out that these two bugs are identical, both are dying in:
(gdb) where
#0 store_expr (exp=0x0, target=0x40a683b0, want_value=0)
at ../../src.egcs/gcc/expr.c:3658
#1 0x80840d2 in expand_expr (exp=0x40a31580, target=0x40a683b0,
tmode=VOIDmode, modifier=EXPAND_CONST_ADDRESS)
at ../../src.egcs/gcc/expr.c:8083
#2 0x808441b in expand_expr (exp=0x40a31560, target=0x40a68390,
tmode=VOIDmode, modifier=EXPAND_NORMAL) at ../../src.egcs/gcc/expr.c:8218
#3 0x80822c9 in expand_expr (exp=0x40a31540, target=0x40a68390,
tmode=VOIDmode, modifier=EXPAND_NORMAL) at ../../src.egcs/gcc/expr.c:7073
#4 0x80822c9 in expand_expr (exp=0x40a31520, target=0x40a68390, tmode=SImode,
[snip]
where exp=0x0 is causing major problems.
Please combine these two bugs reports, and use scott's test case, as
it is much smaller.
His test case can be found here:
http://gcc.gnu.org/ml/gcc-bugs/2000-03/msg01110.html
thanks,
benjamin