[Bug fortran/18026] boz initialization of REALs fails

kargl at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Mar 15 21:05:00 GMT 2005


------- Additional Comments From kargl at gcc dot gnu dot org  2005-03-15 21:05 -------
I've removed the "reject-valid" keyward because the code is not valid
Fortran 95.  From section 5.2.10, we have:

   If a data-statement-constant is a boz-literal-constant, the corresponding
   object shall be of type integer.  A data-stmt-constant that is a
   boz-literal-constant is treated as if the constant were an int-literal-
   constant with a kind-param that specifies the representation method with
   the largest decimal exponent range supported by the processor.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |


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



More information about the Gcc-bugs mailing list