[Bug c/16409] [3.5 regression] ICE in size_binop, at fold-const.c
kenner at vlsi1 dot ultra dot nyu dot edu
gcc-bugzilla@gcc.gnu.org
Wed Jul 7 16:27:00 GMT 2004
------- Additional Comments From kenner at vlsi1 dot ultra dot nyu dot edu 2004-07-07 16:27 -------
Subject: Re: New: [3.5 regression] ICE in size_binop, at fold-const.c
Richard, your patch
http://gcc.gnu.org/ml/gcc-cvs/2004-07/msg00205.html
causes a regression on mainline: Compiling
=====================================================
const int i = 1;
void foo() { char a[][i] = {""}; }
=====================================================
I'm not sure if it's that patch or changes to the gimplification of
CONSTRUCTORS that RTH did, but it seems very much related to
gimplification of CONSTRUCTORS. As you say, this has never really
worked properly and it might have worked by accident. There appears
to be something fundamentally wrong with the typing here.
RTH, can you take a quick look at this and see what you think?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16409
More information about the Gcc-bugs
mailing list