Some serious problem with GC again

Nathan Sidwell nathan@codesourcery.com
Sun Sep 12 17:24:00 GMT 2004


Daniel Jacobowitz wrote:
> On Sun, Sep 12, 2004 at 04:39:46PM +0200, Steven Bosscher wrote:
> 
>>On Sunday 12 September 2004 16:38, Steven Bosscher wrote:
>>
>>><built-in>:0: internal compiler error: tree check: expected record_type or
>>>union_type or qual_union_type, have integer_type in fold_checksum_tree, at
>>>fold-const.c:9181
>>
>>*hits himself for head*
>>
>>This is of course a fold checking problem.  Hmm...  That
>>would be yours, Nathan.
> 
> 
> It's not the only one.  I've been meaning to post this... OK?
looks right to me.  ... I thought I'd got the TYPE_BINFO thing before.
curious

btw, shouldn't
   char buf[sizeof (struct tree_decl)];
be
   char buf[sizeof (union tree_node)]
     __attribute__((alignment(alignof (union tree_node))));
?
(The alignment might be overly paranoid.)

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc-patches mailing list