This is the mail archive of the gcc-patches@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: [RFA] Fix PR 598 and PR 776


    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.


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