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]
Other format: [Raw text]

Re: Properly fold ARRAY_REF in expand_expr


On Wed, Nov 24, 2004 at 05:51:30PM -0500, Richard Kenner wrote:
> 	* expr.c (expand_expr_real_1, case ARRAY_REF): Properly fold with
> 	non-zero lower bound.

I guess this is ok.  But really, is there any need for this kind
of optimization during expansion anyway?  Why wouldn't this be 
done in fold, for instance?


r~


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