This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFA] Fix PR 598 and PR 776
- To: neil at daikokuya dot demon dot co dot uk
- Subject: Re: [RFA] Fix PR 598 and PR 776
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sat, 27 Oct 01 07:32:58 EDT
- Cc: gcc-patches at gcc dot gnu dot org
I assumed that t == 0 meant that the size can vary (i.e. it hasn't
been set in stone yet, like the comment infers about some string type
in Chill).
t == 0 means the size hasn't been set yet, which is really a case that
shouldn't happen.
But the size can easily be set to something that's not a constant.
Are you saying my test should be
if (! (t == 0 || TREE_CODE (t) != INTEGER_CST))
No. I'm saying I'm very confused as to what you are trying to do, so
I can't say what it "should be".
Perhaps you might wan to start at the beginning and say what problem you're
trying to solve.