--- Comment #3 from jvdelisle at gcc dot gnu dot org 2007-06-02 23:20
---
Closing. I get an error message that seems OK
--
jvdelisle at gcc dot gnu dot org changed:
What|Removed |Added
-
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-02-26 19:46 ---
On the mainline and in 4.1.0, we get:
In file t.f90:4
write(6,*) SIN(I),DCOS(J)
1
In file t.f90:2
COMMON /SIN/ I ! error
2
Error: Global name 'sin' at (1) is already being used as a COMMON at
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2005-11-26 19:09
---
gfortran doesn't see the conflict here. As a matter of fact, neither Intel nor
Portland do issue an error.
## g95 ##
In file foo.f90:4
write(6,*) SIN(I),DCOS(J)
1
Error: COMMON block 'sin' at (1) i