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] Serialize RESX_EXPR properly. Implement lang_hooks.make_addressable for lto1.


On Tue, Aug 26, 2008 at 5:54 AM, Diego Novillo <dnovillo@google.com> wrote:

>> +     /* FIXME lto: The operands should be gimplified at this
>> +        point, so it should be safe just to call mark_addressable
>> +        here.  Gimplification may keep language-specific checks
>> +        in the langhook from working as expected.  These belong
>> +        in the front-ends.  */
>>       lang_hooks.mark_addressable (val);
>
> Just call mark_addressable() here.

This will make the langhook obsolete.  Should I remove it?

> Any diagnostic messages should've been emitted by now.

I believe the langhook, and its calls from stmt.c, are the only
place where such diagnostics were ever attempted.  Nowhere
else is the asm string parsed to determine which operands
are having their addresses taken.

--Bill


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