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]

Re: g++ ICE in expr.c:store_expr (g++ 2.96 20000327 on i686-pc-linux-gnu)




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

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