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: [patch] Enable Ada bootstrap with LTO


On Sat, Nov 27, 2010 at 4:18 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Huh, but we can't expand them. ?We shouldn't have INDIRECT_REFs in the
>> IL anymore. ?Hmm, maybe dwarf2out can still deal with them though.
>
> Yes, loc_list_from_tree still supports them:
>
> ? ?case MEM_REF:
> ? ? ?/* ??? FIXME. ?*/
> ? ? ?if (!integer_zerop (TREE_OPERAND (loc, 1)))
> ? ? ? ?return 0;
> ? ? ?/* Fallthru. ?*/
> ? ?case INDIRECT_REF:
> ? ? ?list_ret = loc_list_from_tree (TREE_OPERAND (loc, 0), 0);
> ? ? ?have_address = 1;
> ? ? ?break;

Patch is ok then.

Thanks,
Richard.

> --
> Eric Botcazou
>


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