[Bug fortran/20896] [4.2 and 4.1 only] ambiguous interface not detected

2007-12-14 Thread burnus at gcc dot gnu dot org


--- Comment #11 from burnus at gcc dot gnu dot org  2007-12-14 12:26 ---
I think this effectively a duplicate of PR 34004.

The example of comment 0 is invalid (the specific functions have arguments
which are not distinguishable per the Fortran standard, see PR 34004). That can
distinguish them in practice does not count.


-- 


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



[Bug fortran/20896] [4.2 and 4.1 only] ambiguous interface not detected

2007-08-19 Thread pault at gcc dot gnu dot org


--- Comment #10 from pault at gcc dot gnu dot org  2007-08-20 03:48 ---
(In reply to comment #9)
 (In reply to comment #8)
  Paul, what is the status on this one?
 
 ping?
 
Go back to the thread on it.  I did not seem able to satisfy the reviewer as to
my interpretation of the standard; since I could not see any other, I let it
drop. I'll unassign myself.

Paul


-- 

pault at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|pault at gcc dot gnu dot org|unassigned at gcc dot gnu
   ||dot org
 Status|ASSIGNED|NEW


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



[Bug fortran/20896] [4.2 and 4.1 only] ambiguous interface not detected

2007-08-16 Thread fxcoudert at gcc dot gnu dot org


--- Comment #9 from fxcoudert at gcc dot gnu dot org  2007-08-16 11:50 
---
(In reply to comment #8)
 Paul, what is the status on this one?

ping?


-- 


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



[Bug fortran/20896] [4.2 and 4.1 only] ambiguous interface not detected

2007-05-10 Thread fxcoudert at gcc dot gnu dot org


--- Comment #8 from fxcoudert at gcc dot gnu dot org  2007-05-10 23:20 
---
Paul, what is the status on this one?


-- 


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



[Bug fortran/20896] [4.2 and 4.1 only] ambiguous interface not detected

2007-01-31 Thread burnus at gcc dot gnu dot org


--- Comment #7 from burnus at gcc dot gnu dot org  2007-01-31 09:55 ---
  http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00145.html
 Do we have consensus yet on this?
 The standard is not exactly straight forward interpret.

I'm not 100% sure. The standard is indeed not very clear about it.
My feeling is that the standard forbids some of the things on the basis that
the compiler is not required to check those, but I should study the patch and
the standard again.

With the patch the following is not ambiguous:

+ SUBROUTINE s2(p2)
+   interface
+ function p2 ()
+   real p2
+ end
+   end interface
+ END
+ SUBROUTINE s1(p1)
+   external p1
+ END

This is based on the following: the first one is a function (well, that's
obvious) and the second one is a subroutine. But is this indeed clear?
Without IMPLICIT NONE the second could be equally well a real function, or do I
miss something subtle?


-- 

burnus at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||burnus at net-b dot de


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



[Bug fortran/20896] [4.2 and 4.1 only] ambiguous interface not detected

2007-01-21 Thread jvdelisle at gcc dot gnu dot org


--- Comment #6 from jvdelisle at gcc dot gnu dot org  2007-01-21 20:41 
---
What is the status on this now?  After reviewing the standard I think I am in
agreement with what this patch does.  The standard is not exactly straight
forward  interpret.

Do we have consensus yet on this?  If so, I will commit for Paul.


-- 


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



[Bug fortran/20896] [4.2 and 4.1 only] ambiguous interface not detected

2007-01-03 Thread patchapp at dberlin dot org


--- Comment #5 from patchapp at dberlin dot org  2007-01-03 18:05 ---
Subject: Bug number PR20896

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00145.html


-- 


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



[Bug fortran/20896] [4.2 and 4.1 only] ambiguous interface not detected

2007-01-02 Thread pault at gcc dot gnu dot org


--- Comment #4 from pault at gcc dot gnu dot org  2007-01-02 14:23 ---
Subject: Bug 20896

Author: pault
Date: Tue Jan  2 14:23:36 2007
New Revision: 120342

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=120342
Log:
2007-01-02  Paul Thomas  [EMAIL PROTECTED]

PR fortran/20896
* interface.c (check_sym_interfaces): Remove call to
resolve_global_procedure.
gfortran.h : Remove prototype for resolve_global_procedure.
resolve.c (resolve_global_procedure): Add static attribute
to function declaration.

2007-01-02  Paul Thomas  [EMAIL PROTECTED]

PR fortran/20896
* gfortran.dg/interface_10.f90: Remove.


Removed:
trunk/gcc/testsuite/gfortran.dg/interface_10.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/interface.c
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog


-- 


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



[Bug fortran/20896] [4.2 and 4.1 only] ambiguous interface not detected

2006-12-27 Thread pault at gcc dot gnu dot org


--- Comment #3 from pault at gcc dot gnu dot org  2006-12-27 16:38 ---
I suppose that I had better accept it...

Paul


-- 

pault at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pault at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2005-12-31 19:56:44 |2006-12-27 16:38:11
   date||


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