"gfortran -fcray-pointer" accepts the following program while "ifort" rejects it with: Error: line 11: The attributes of this name conflict with those made accessible by a USE statement. [X]
If one comments the Cray pointer out, gfortran prints: Error: Symbol 'x' at (1) already has basic type of INTEGER Expected: a) gfortran also detects this problem when using Cray pointers b) The error message is made clearer by pointing to the module module test integer(8) ipt, x pointer (ipt, x) end module program bar use test ! implicit none integer(8) x x = 2 print *,x end -- Summary: USE association, cray pointers and error checking Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: accepts-invalid, diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: burnus at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36497