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/50407] compiler confused by .operator.


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

--- Comment #7 from Steve Kargl <sgk at troutmask dot apl.washington.edu> 2011-09-15 21:32:41 UTC ---
On Thu, Sep 15, 2011 at 09:21:42PM +0000, anlauf at gmx dot de wrote:
> 
> When you put parentheses around the expressions,
> like (2.ip.8), then the code compiles.
> 
> This is also what the Intel Compiler seems to require for the
> other variants.  Otherwise you get a lot of messages...

I can confirm that gfortran is mathcing the 2 as if it is
a statement label.  It seems one may need to alter 
match_dt_format in fortran/io.c to check if 2 is an
operand of a user defined operator.


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