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]

Re: more on fortran array indexing


> Please try the following patch:
> 
> 	* fold-const (fold): Also simplify FLOOR_DIV_EXPR
> 	  iff dividend is a multiple of divisor

No good.  The problem being, I believe, that n*64 is wrapped in a 
save_expr, and so we can't get rid of it.  I'd actually already 
tried making the ARRAY_REF expansion use EXACT_DIV_EXPR..


r~


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