From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27662 invoked by alias); 23 Oct 2006 18:52:16 -0000 Received: (qmail 27603 invoked by uid 48); 23 Oct 2006 18:52:05 -0000 Date: Mon, 23 Oct 2006 18:52:00 -0000 Message-ID: <20061023185205.27602.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/18026] boz initialization of REALs fails In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "tobias dot burnus at physik dot fu-berlin dot de" 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/msg01999.txt.bz2 List-Id: ------- Comment #12 from tobias dot burnus at physik dot fu-berlin dot de 2006-10-23 18:52 ------- Cf. also bug 29471. In the Intel Fortran Compiler real :: r data r/some BOZ/ gives the same result as using the Fortran 2003 statement in ifort: real :: r r = real(some boz) (At least with the "-switch fe_new_BOZ_constants".) Therefore, with Fortran 2003 BOZ support in place, implementing this in gfortran should then become easier. (Working around will also become easier.( (As gfortran accepts [integer] BOZ everywhere, it will also have the problem whether real( z'F' ) is meant as "convert integer BOZ to integer and then to real" or as "convert real BOZ to real". Ifort gives a default warning for both -stand f95 and -stand f03, treating the BOZ differently for those two cases.) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18026