[Bug fortran/29837] New: INTERFACE overloading INTENT problem - valid code is rejected

enok at lysator dot liu dot se gcc-bugzilla@gcc.gnu.org
Tue Nov 14 23:13:00 GMT 2006


Different INTENT parameters on the first argument of overloaded subroutines
confuse the argument matching mechanism and a compiler error is generated for
code that is correct. See attached testcase.

The problem breaks my code and I see no workaround. I hope somebody can fix it
before the release.


-- 
           Summary: INTERFACE overloading INTENT problem - valid code is
                    rejected
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: enok at lysator dot liu dot se
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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



More information about the Gcc-bugs mailing list