public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/52994] [OOP] [F08] internal compiler error: in gfc_trans_assignment_1, at fortran/trans-expr.c:6881
Date: Mon, 16 Apr 2012 09:05:00 -0000	[thread overview]
Message-ID: <bug-52994-4-ZTdJ0p2eJ8@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-52994-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #10 from janus at gcc dot gnu.org 2012-04-16 09:04:51 UTC ---
(In reply to comment #9)
> (In reply to comment #8)
> > > Just out of curiosity: Are you aware of any compiler which swallows this?
> > 
> > No. I've just tried it with PGI (pgf95) but it chokes on "contains" "within a
> > derived type definition".
> 
> That was probably an older version. I'm pretty sure the more recent versions of
> PGI at least support type-bound procedures.

I just tried ifort 12.1.1.256 and PGI 11.9 on comment #4, and both reject it:


ifort pr52994.f90 
pr52994.f90(32): error #6515: This function, which is specified as the left
side of an assignment statement, is invalid.   [LEFT_HALO]
  a%left_halo(arr) = -666  ! ICE
----^


pgf95 pr52994.f90 
PGF90-S-0072-Assignment operation illegal to external procedure left_halo9
(pr52994.f90: 32)
  0 inform,   0 warnings,   1 severes, 0 fatal for test


  parent reply	other threads:[~2012-04-16  9:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-15 11:40 [Bug fortran/52994] New: " slayoo at staszic dot waw.pl
2012-04-15 11:41 ` [Bug fortran/52994] " slayoo at staszic dot waw.pl
2012-04-15 18:46 ` [Bug fortran/52994] [OOP] [F08] " janus at gcc dot gnu.org
2012-04-15 19:28 ` slayoo at staszic dot waw.pl
2012-04-15 19:32 ` janus at gcc dot gnu.org
2012-04-15 19:37 ` janus at gcc dot gnu.org
2012-04-15 19:41 ` janus at gcc dot gnu.org
2012-04-15 19:43 ` janus at gcc dot gnu.org
2012-04-15 20:24 ` slayoo at staszic dot waw.pl
2012-04-15 20:41 ` janus at gcc dot gnu.org
2012-04-16  9:05 ` janus at gcc dot gnu.org [this message]
2012-04-16  9:11 ` janus at gcc dot gnu.org
2015-09-28 21:27 ` pault at gcc dot gnu.org
2023-10-12 14:31 ` pault at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-52994-4-ZTdJ0p2eJ8@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).