IMA vs tree-ssa

Richard Henderson rth@redhat.com
Thu Feb 26 23:20:00 GMT 2004


On Thu, Feb 26, 2004 at 03:05:19PM -0800, Dale Johannesen wrote:
> ...  so that fails, and it falls through into
> 
>       /* Fold *&B to B.  */
>       if (integer_zerop (offset))
>         return base;
> 
> instead which is wrong.  Now we may be able to prevent the ICE by 
> checking for ARRAY_TYPE there ...

Indeed, the correct solution is to make sure that BASE matches the
type we're looking for.  I.e. yet another T_M_V pointer comparison.


r~



More information about the Gcc mailing list