NetBSD-Bugs archive

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

Re: toolchain/49273: 64-bit constant loads in as will be truncated to 32-bit.



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

From: Martin Husemann <martin%duskware.de@localhost>
To: Anders Magnusson <ragge%ludd.ltu.se@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, toolchain-manager%NetBSD.org@localhost,
	gnats-admin%NetBSD.org@localhost, netbsd-bugs%NetBSD.org@localhost
Subject: Re: toolchain/49273: 64-bit constant loads in as will be truncated to 32-bit.
Date: Sat, 11 Oct 2014 16:36:12 +0200

 On Sat, Oct 11, 2014 at 02:45:32PM +0200, Anders Magnusson wrote:
 > Solving it from a compiler perspective is not a problem,
 > but as should nevertheless either accept these values correctly
 > or complain,  not just silently ignore them :-)
 
 Bring it up with the binutils folks (and good luck).
 
 There is a comment in the code:
 
                           p[0] = (operandP->vop_mode << 4) | 0xF;
                           if ((is_absolute) && (expP->X_op != O_big))  
                             {
                               /* If nbytes > 4, then we are scrod. We
                                  don't know if the high order bytes  
                                  are to be 0xFF or 0x00.  BSD4.2 & RMS
                                  say use 0x00. OK --- but this
                                  assembler needs ANOTHER rewrite to
                                  cope properly with this bug.  */
 
 (gas/config/tc-vax.c:3312ff)
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index