From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11908 invoked by alias); 17 Feb 2008 01:09:00 -0000 Received: (qmail 11835 invoked by uid 48); 17 Feb 2008 01:08:17 -0000 Date: Sun, 17 Feb 2008 01:09:00 -0000 Message-ID: <20080217010817.11834.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/35223] IBITS gives compiler error 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: 2008-02/txt/msg01835.txt.bz2 ------- Comment #2 from kargl at gcc dot gnu dot org 2008-02-17 01:08 ------- (In reply to comment #0) > hades [TEST] cat bug-ibits.f90 > program main > write (*, *) ibits (-1, 0, bit_size (0)) > end program main > (snip) What result do you expect? > Compiling with g95 works fine though. Appears g95 may have a bug. See Sec. 13.3, 13.4, and most importantly 13.7 in the 'Final Committee Draft J3/03-007R2' of the Fortran 2003 standard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35223