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/55983] [4.7/4.8 Regression] ICE in find_typebound_proc_uop, at fortran/class.c:2711
Date: Tue, 15 Jan 2013 08:29:00 -0000	[thread overview]
Message-ID: <bug-55983-4-CcgUszZ0Xp@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55983-4@http.gcc.gnu.org/bugzilla/>


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
                 CC|                            |janus at gcc dot gnu.org
            Summary|ICE in                      |[4.7/4.8 Regression] ICE in
                   |find_typebound_proc_uop, at |find_typebound_proc_uop, at
                   |fortran/class.c:2711        |fortran/class.c:2711

--- Comment #1 from janus at gcc dot gnu.org 2013-01-15 08:27:39 UTC ---

> $ /usr/lib/gcc-snapshot/bin/gfortran -ffree-form -std=f2008 bug2.f
> f951: internal compiler error: in find_typebound_proc_uop, at
> fortran/class.c:2711

Confirmed with trunk and 4.7. (Btw, why don't you use a .f90 suffix? Then you
don't need -ffree-form ...)

4.6 correctly complains:

c0.f90:24.25:

      call bcx%fill_halos()
                         1
Error: Derived type 'bcd_t' at (1) is being used before it is defined
c0.f90:16.32:

    class(bcd_t), pointer :: bcx, bcy
                                1
Error: The pointer component 'bcx' of 'mpdata_t' at (1) is a type that has not
been declared


It seems you are missing a use statement and found an ICE-on-invalid
regression.


  reply	other threads:[~2013-01-15  8:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14 23:10 [Bug fortran/55983] New: " slayoo at staszic dot waw.pl
2013-01-15  8:29 ` janus at gcc dot gnu.org [this message]
2013-01-15  8:31 ` [Bug fortran/55983] [4.7/4.8 Regression] " janus at gcc dot gnu.org
2013-01-15  9:03 ` slayoo at staszic dot waw.pl
2013-01-15  9:10 ` janus at gcc dot gnu.org
2013-01-15 10:09 ` janus at gcc dot gnu.org
2013-01-15 21:10 ` janus at gcc dot gnu.org
2013-01-15 22:17 ` janus at gcc dot gnu.org
2013-01-16 13:31 ` janus at gcc dot gnu.org
2013-01-16 19:52 ` janus at gcc dot gnu.org
2013-01-17 10:56 ` janus at gcc dot gnu.org
2013-01-17 10:58 ` janus 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-55983-4-CcgUszZ0Xp@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).