NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/46978: internal compiler error building qt4-libs



The following reply was made to PR bin/46978; it has been noted by GNATS.

From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/46978: internal compiler error building qt4-libs
Date: Thu, 20 Sep 2012 23:07:06 +0100

 On Thu, Sep 20, 2012 at 08:05:03AM +0000, Nick Hudson wrote:
 > The following reply was made to PR bin/46978; it has been noted by GNATS.
 >  > 
 >  >  The compiler bug is still present in g++ (NetBSD nb1 20120916) 4.5.4
 >  >  on NetBSD/i386, although the line number has changed from 1306 to 1300:
 >  >  "internal compiler error: in insert_save, at caller-save.c:1300"
 >  
 >  1297:   /* Verify that the alignment of spill space is equal to or greater
 >  1298:      than required.  */
 >  1299:   gcc_assert (MIN (MAX_SUPPORTED_STACK_ALIGNMENT,
 >  1300:                   GET_MODE_ALIGNMENT (GET_MODE (mem))) <= MEM_ALIGN 
 > (mem));
 >  
 >  I wonder if it's related to joerg's commit
 >  
 >  http://mail-index.netbsd.org/source-changes/2012/09/14/msg037276.html
 
 I've just tried to guess what the LHS and RHS of that comparison might be.
 But it is lurking well inside many #defines and functions.
 Might be worth trying to print MAX_SUPPORTED_STACK_ALIGNMENT,
 GET_MODE_ALIGNMENT (GET_MODE (mem)) and MEM_ALIGN(mem) when the assert
 would fail.
 I think there is also an 'rtx' print routing lurking that could be used
 for 'mem'.
 
        David
 
 -- 
 David Laight: david%l8s.co.uk@localhost
 


Home | Main Index | Thread Index | Old Index