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/39692] f95: conflict between EXTERNAL and POINTER



------- Comment #1 from dominiq at lps dot ens dot fr  2009-04-09 08:39 -------
After removing the comment in the line

!  f => sin

I get on powerpc-apple-darwin9, revision 145779:

[karma] f90/bug% gfc pr39692.f90
pr39692.f90:3.11:

 external f
           1
Error: EXTERNAL attribute conflicts with FUNCTION attribute at (1)
pr39692.f90:8.10:

  f => sin
          1
Error: Function 'sin' requires an argument list at (1)

If I comment the external declaration, I still get the same error for "f =>
sin".


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39692


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