This is the mail archive of the gcc-prs@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: target/9620: left-shift of bit field of 64-bit long truncated to 32 bits.


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

From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: target/9620: left-shift of bit field of 64-bit long truncated to 32 bits.
Date: 08 Feb 2003 00:09:28 +0100

 marky@model.com writes:
 
 > The result of a left-shift on a bit field of a 64-bit unsigned long
 > is truncated to 32 bits, even if the field reference is cast to
 > unsigned long.
 
 I can reproduce this on Alpha with both gcc 3.2.2 and 3.4 20030203.
 
 -- 
 	Falk


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