IMA vs tree-ssa
Dale Johannesen
dalej@apple.com
Thu Feb 26 23:47:00 GMT 2004
On Feb 26, 2004, at 3:25 PM, law@redhat.com wrote:
> In message <3F7FB8C0-68B0-11D8-8C0E-000A95D7CD40@apple.com>, Dale
> Johannesen wr
> ites:
>>
>> rtx recog_operand[MAX_RECOG_OPERANDS];
>> register rtx *ro = &recog_operand[0];
>> rtx x2;
>> ro[0] = x2;
>>
>> /* Fold *&B to B. */
>> if (integer_zerop (offset))
>> return base;
> I must still be missing something. If OFFSET is zero, then why is
> returning
> BASE wrong?
Because it's an array, so you get array = scalar.
> If OFFSET is nonzero, then we'll fall out returning NULL_TREE which
> indicates that we couldn't simplify -- which ought to just inhibit
> an optimization.
Actually, I applied the fix rth suggested and now get an abort earlier
building 176.gcc.
Stay tuned.
More information about the Gcc
mailing list