public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/39312] parameter (constant) and initialization with hex values
Date: Thu, 26 Feb 2009 15:09:00 -0000	[thread overview]
Message-ID: <20090226150925.20440.qmail@sourceware.org> (raw)
In-Reply-To: <bug-39312-17349@http.gcc.gnu.org/bugzilla/>



------- 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


  parent reply	other threads:[~2009-02-26 15:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-26 14:32 [Bug fortran/39312] New: " rvatne at gmail dot com
2009-02-26 14:42 ` [Bug fortran/39312] " kargl at gcc dot gnu dot org
2009-02-26 14:59 ` rvatne at gmail dot com
2009-02-26 15:09 ` sgk at troutmask dot apl dot washington dot edu [this message]
2009-02-26 15:10 ` rguenth at gcc dot gnu dot org
2009-02-26 15:11 ` kargl at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090226150925.20440.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).