[Patch, fortran] PR29786 - [4.1/4.2/4.3 Regression] Initialization of overlapping variables: Not implemented

Dominique Dhumieres dominiq@lps.ens.fr
Wed Jun 13 15:13:00 GMT 2007


Paul,

I think there is a typo in:

  integer(4), parameter :: abcd = ichar ("a") + 256_4 + (ichar("b") + 256_4 * &
                                                      ^
should be a *

Also the code work if the test is 

if (.not.bigendian) then

but since I never know which processor is little or big, I cannot comment
about the name, but with the two fixes, it works with xlf and g95 on a PPC
and with the Intel fortran on an AMD64 (g95 detects an error in this case!-).

Thanks for the fix.

Dominique



More information about the Fortran mailing list