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]

Re: C++ PATCH: Fix PR2733




--On Wednesday, July 11, 2001 07:42:42 PM +0100 Jason Merrill 
<jason_merrill@redhat.com> wrote:

>>>>>> "Mark" == Mark Mitchell <mark@codesourcery.com> writes:
>
>> The C++ front-end now wants to have TREE_ADDRESSABLE set correctly
>> before any RTL generation.  (This is the only approach that will work
>> if we are going to do optimizations at the tree level.)  It then just
>> puts the variable on the stack directly when creating RTL, saving the
>> expense of the later put_var_into_stack call, as well as being much
>> simpler: first, you generate trees, then you generate RTL.
>
> I'm all about separating the tree and RTL phases, and no objection to this
> patch, but I think eventually we will want to delay setting
> TREE_ADDRESSABLE until after optimization (especially inlining).

Yes!  I completely agree.

We should, however, get it set by the time we go to generate RTL.

-- 
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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