[LTO] PATCH: Fix for ICE vector VEC(cgraph_node_ptr,base) index domain error

Simon Baldwin simonb@google.com
Thu Oct 23 15:56:00 GMT 2008


Diego Novillo wrote:
> On Thu, Oct 23, 2008 at 05:38, Simon Baldwin <simonb@google.com> wrote:
>
>   
>> 2008-10-22  Simon Baldwin  <simonb@google.com>
>>
>>        * lto-lang.c: (input_node): Save the node reference, rather than the
>>        node pointer, in node->inlined_to.
>>        (fixup_cgraph_nodes): New function, convert node references into
>>        node pointers.
>>        (input_cgraph_1): Call fixup_cgraph_nodes.
>>     
>
> OK.
>   

Thanks.  However, changes between revs 141263 and 141308 mean that I've 
had to juggle it about a fair bit since emailing.

Would you mind taking a look at the revised version, appended below -- 
broadly the same, just a little more direct.  Thanks.

-- 
Google UK Limited | Registered Office: Belgrave House, 76 Buckingham
Palace Road, London SW1W 9TQ | Registered in England Number: 3977902

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgraph_fixup.patch
Type: text/x-patch
Size: 2569 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081023/d9d64ab0/attachment.bin>


More information about the Gcc-patches mailing list