Bug 39313 - parameter (constant) and initialization with hex values
Summary: parameter (constant) and initialization with hex values
Status: RESOLVED DUPLICATE of bug 39312
Alias: None
Product: gcc
Classification: Unclassified
Component: fortran (show other bugs)
Version: 4.3.3
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 14:56 UTC by Rune Vatnehagen
Modified: 2009-02-26 15:09 UTC (History)
2 users (show)

See Also:
Host: sparc-sun-solaris2.8
Target: sparc-sun-solaris2.8
Build: sparc-sun-solaris2.8
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rune Vatnehagen 2009-02-26 14:56:33 UTC
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"
Comment 1 Richard Biener 2009-02-26 15:09:45 UTC

*** This bug has been marked as a duplicate of 39312 ***