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/42677] New: [Regression] Bogus Error: Ambiguous interfaces '...' in intrinsic assignment operator


Hi,

the attached testcase works with gfortran 4.3.x and 4.4.x but fails
with 4.5.0:

gfcbug97.f90:34.15:

       use mod1
               1
Error: Ambiguous interfaces 'assign_m' and 'assign_to_atm' in intrinsic
assignment operator at (1)

It also works with other compilers (ifort11, sunf95).

Note that interchanging the order of the interfaces in mod2
apparently "fixes" the error for me.


-- 
           Summary: [Regression] Bogus Error: Ambiguous interfaces '...' in
                    intrinsic assignment operator
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: anlauf at gmx dot de


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


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