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]

Re: IMA vs tree-ssa


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~


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