This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31972] [4.3 regression] Internal Error occurs when TRANSFER contains hollerith argument



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]