public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/39312]  New: parameter (constant) and initialization with hex values
@ 2009-02-26 14:32 rvatne at gmail dot com
  2009-02-26 14:42 ` [Bug fortran/39312] " kargl at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: rvatne at gmail dot com @ 2009-02-26 14:32 UTC (permalink / raw)
  To: gcc-bugs

How can initialization of a parameter (constant) with hex values be done?

I.e. I would like to write "parameter (xx = z'ff')" 
or 
integer, parameter :: zz=z'022'
but the compiler complains over "BOZ used outside a data statement"


-- 
           Summary: parameter (constant) and initialization with hex values
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rvatne at gmail dot com
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39312


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-02-26 15:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-26 14:32 [Bug fortran/39312] New: parameter (constant) and initialization with hex values 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
2009-02-26 15:10 ` rguenth at gcc dot gnu dot org
2009-02-26 15:11 ` kargl at gcc dot gnu dot org

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