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


    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?

This code is ancient, but I think the reason it isn't done in fold is in case
the address is taken.  This could well be irrelevant at this point.


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