[Bug tree-optimization/27798] gimplifying "return CONSTANT" creates unneeded temporaties

dnovillo at redhat dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 13 14:54:00 GMT 2006



------- Comment #4 from dnovillo at redhat dot com  2006-06-13 14:49 -------
Subject: Re:  gimplifying "return CONSTANT" creates
 unneeded temporaties

dann at godzilla dot ics dot uci dot edu wrote on 06/13/06 10:42:
> ------- Comment #3 from dann at godzilla dot ics dot uci dot edu  2006-06-13 14:42 -------
> One of the issues with this PR and also 27800, 27809 and 27810 is that this
> extra work/memory allocation done for a number of functions that are never
> used: like all the inline functions present in the glibc headers. These
> functions are thrown out after gimplification...
> 
We need to strike a balance between the potential memory savings due to
a more streamlined GIMPLE and the effort needed to get it.

We should avoid anything that requires the gimplifier to build complex
dataflow and/or duplicate existing optimizations.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27798



More information about the Gcc-bugs mailing list