[Bug fortran/39312] parameter (constant) and initialization with hex values
sgk at troutmask dot apl dot washington dot edu
gcc-bugzilla@gcc.gnu.org
Thu Feb 26 15:09:00 GMT 2009
------- Comment #3 from sgk at troutmask dot apl dot washington dot edu 2009-02-26 15:09 -------
Subject: Re: parameter (constant) and initialization with hex values
On Thu, Feb 26, 2009 at 02:59:05PM -0000, rvatne at gmail dot com wrote:
>
> running:
> >gfortran -g -std=f95 -ffree-form -frange-check -c rv1.f90 -o rv1.o
> rvp.mnc:3.43:
> Included at rv1.f90:2:
>
> PARAMETER (SL_I4NOVALUE = Z'80000000')
> 1
> Error: Fortran 2003: BOZ used outside a DATA statement at (1)
>
You got exactly what you asked the compiler to do.
Remove the -std=f95 option if you don't want to
enforce the Fortran 95 standard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39312
More information about the Gcc-bugs
mailing list