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

--- Comment #4 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 
2010-09-25 05:57:30 UTC ---
On Sat, Sep 25, 2010 at 03:00:37AM +0000, sgk at troutmask dot
apl.washington.edu wrote:
> On Sat, Sep 25, 2010 at 12:16:53AM +0000, kargl at gcc dot gnu.org wrote:
> > 
> > Interesting**3.  If you simply remove the private
> > and public statement then everything works as one
> > would expect.
> > 
> > And finally, an even more interesting bug.
> > Change the interface statement to 
> > 
> >   interface operator(.eq.)
> >     module procedure eq_foo
> >   end interface operator(==)
> 
> I have a patch that appears to fix this one.
> I think it is more of a bandaid than a proper fix
> in that I think .eq. should be simply substituted
> with == on the input stream during parsing.
> 

The patch was committed as

svn-commit.tmp: 8 lines, 286 characters.
Sending        gcc/fortran/ChangeLog
Sending        gcc/fortran/interface.c
Sending        gcc/testsuite/ChangeLog
Adding         gcc/testsuite/gfortran.dg/operator_c1202.f90
Transmitting file data ....
Committed revision 164616.

-- 
Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to