This is the mail archive of the gcc@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] |
On Feb 26, 2004, at 5:02 PM, Dale Johannesen wrote:On Feb 26, 2004, at 4:21 PM, law@redhat.com wrote:In message <47CEA8A4-68B9-11D8-8C0E-000A95D7CD40@apple.com>, Dale Johannesen wr
ites:My only concern would be that you might get a bad operand type mis-match;
Perhaps maybe_fold_offset_to_array_ref ought to ignore the type "mismatch", at least when offset is 0. I can't see that *&x (for x an array) should ever be anything but x[0]. Let me try that...
though for this code I don't really see how that could happen.
This gets farther than before in 176.gcc; there's an apparently unrelated BE crash later.
As you're OK with the idea, I'll bootstrap/test this overnight.
Bootstrap and test passed but given rth's comments I'll look at a langhook for
comptypes instead of submitting this.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |