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 c/16409] [3.5 regression] ICE in size_binop, at fold-const.c


------- 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


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