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

Paul Richard Thomas paul.richard.thomas@gmail.com
Wed Jun 13 16:18:00 GMT 2007


Dominique,

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

Hah! - I was wondering why...
>
> Also the code work if the test is
>
> if (.not.bigendian) then

..it seemed to be the wrong way round!

> 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!-).

I'll get the name right!

Thanks

Paul



More information about the Fortran mailing list