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: [FORTRAN] Avoid allocating unused WHERE masks


> i.e. we always allocate and populate two complementary masks, even
> when the second one (mask2 above) is completely unused.  Unfortunately,
> GCC's tree-level and RTL optimizers are currently unable to optimize
> away this second allocation, meaning that simple WHERE loops allocate
> twice as much memory as they need.

This is optimization is recorded as PR 19831.

Thanks,
Andrew Pinski


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