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: Reassociation



    Some languages (ie fortran) allow reassociation as long as we honor
    paren boundaries.  We need some way to find those boundaries.  How do
    you suggest we find them?

By looking at the rtl.  For example, in the rtl for a*b*c*d all the
set destinations are the same, a giveaway that the parentheses were
omitted.  I suggest asking Wilson about this; he would probably know
whether this is a feasible plan in general.


    See fold-const.c  It does most of the same transformations on trees
    that cse.c is doing on RTL.

That's fine, but the optimizations in point are now being squelched
specifically in cse.c.


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