This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/39876] module procedure name that collides with the GNU intrinsic



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]