From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32086 invoked by alias); 16 May 2007 23:51:20 -0000 Received: (qmail 32026 invoked by uid 48); 16 May 2007 23:51:09 -0000 Date: Wed, 16 May 2007 23:51:00 -0000 Message-ID: <20070516235109.32025.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/31964] ishftc fails with certain thrid argument In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kargl at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg01250.txt.bz2 ------- Comment #1 from kargl at gcc dot gnu dot org 2007-05-17 00:51 ------- What output were you expecting? write(*,*) ishftc(aint,1) write(*,*) ishftc(aint,1,32) write(*,*) ishftc(aint,1,BIT_SIZE(aint)) All three of these statements are shifting the 32-bit representation of of 1 to left and wrapping the 1 shifted bit around. -- kargl at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31964