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: [tree-ssa] Treat ASM_EXPR operands as real operands [patch]


On 22 Jul 2003 15:20:13 -0400, Diego Novillo <dnovillo@redhat.com> wrote:

> On Tue, 2003-07-22 at 15:00, Jason Merrill wrote:
>> On 22 Jul 2003 14:15:49 -0400, Diego Novillo <dnovillo@redhat.com> wrote:
>> 
>> > On Tue, 2003-07-22 at 14:01, Jason Merrill wrote:
>> >> Hmm.  You could probably use DECL_RTL_SET_P, but that seems fragile.
>> 
>> > It's still not set when we are in the tree optimizers.
>> 
>> It sure looks like it should be for a decl with an explicit asm specifier;
>> finish_decl calls rest_of_decl_compilation, which calls make_decl_rtl if
>> there's an asmspec.
>> 
> It's definitely not the case here.  Oddly, finish_decl is *never* called
> in this program.  I set a breakpoint in cp/decl.c:finish_decl and it
> never triggered.

C++, is it?

Then cp_finish_decl should call make_rtl_for_nonlocal_decl, which either
calls make_decl_rtl directly or rest_of_decl_compilation.

Jason


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