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: [LTO] patch: new CALL_EXPR abstractions in builtins.c


Roger Sayle wrote:

Now I appreciate the not every call to fold will/must leak
memory using Sandra's scheme or even on mainline, but I'd hope
the above statistic is surprising enough to most people, to
induce a more accurate sense of respect about what's being
traded-off.  You'll also understand why many middle-end folks
strongly believe that trees should be folded at construction
time, and when modified, rather than repeatedly calling fold
on the same expression.

FWIW, I have been busy implementing Roger's suggestion and changing all the fold_builtin_foo guys to take the individual arguments instead of either a list or the whole CALL_EXPR. I'll be back with a revised patch in a few days.


-Sandra


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