From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7936 invoked by alias); 16 Oct 2006 16:51:53 -0000 Received: (qmail 7907 invoked by uid 48); 16 Oct 2006 16:51:45 -0000 Date: Mon, 16 Oct 2006 16:51:00 -0000 Message-ID: <20061016165145.7906.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/29471] Warn with -std=f95/f2003 when BOZ is used at invalid places 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-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-10/txt/msg01379.txt.bz2 List-Id: ------- Comment #2 from kargl at gcc dot gnu dot org 2006-10-16 16:51 ------- This is going to be difficult to fix. In fact, it will require a complete rewrite on how BOZ are handled. > Fortran 2003: > a = real(z'F') > = 2.1019477E-44 Are you sure this is the only correct value? The F2003 says nothing about the other 28 bits. It also says nothing about whether z'F' applies to most significant bits or least significant bits of the 32-bit real. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29471