This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31972] [4.3 regression] Internal Error occurs when TRANSFER contains hollerith argument
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 May 2007 17:18:54 -0000
- Subject: [Bug fortran/31972] [4.3 regression] Internal Error occurs when TRANSFER contains hollerith argument
- References: <bug-31972-14284@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from dominiq at lps dot ens dot fr 2007-05-17 18:18 -------
Works for me on OSX 10.3.9 gfortran 4.3.0 20070511:
PROGRAM lsstr
INTEGER, DIMENSION(1) :: i
i = (/ TRANSFER(4HSOLR, 0) /)
print *, i
END PROGRAM lsstr
outputs 1397705810 (83797682 hexa) with gfortran, xlf, and g95, but gfortran
emits a warning:
Warning: Extension: Hollerith constant at (1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31972