This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39876] module procedure name that collides with the GNU intrinsic
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Apr 2009 12:32:28 -0000
- Subject: [Bug fortran/39876] module procedure name that collides with the GNU intrinsic
- References: <bug-39876-17619@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dominiq at lps dot ens dot fr 2009-04-24 12:32 -------
> This patch allows the code in comment #2 to compile with -std=f95.
> Don't know if it is correct.
> ...
This will remove diagnostic, but not the cause. I think the problem comes from
redundant information that are inconsistant, probably
attr = {
allocatable = 0,
dimension = 0,
external = 1, <---
intrinsic = 0,
...
if_source = IFSRC_DECL,
proc = PROC_MODULE, <---
cray_pointer = 0,
cray_pointee = 0,
alloc_comp = 0,
pointer_comp = 0,
private_comp = 0,
zero_comp = 0,
volatile_ns = 0x0
},
>From the little I understand 'external' should not be set to 1 for functions
listed as intrinsics but not f95 intrinsics.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39876