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/55172] [4.7/4.8 Regression] [OOP] ICE on invalid: gfc_variable_attr(): Bad array reference
Date: Fri, 02 Nov 2012 11:07:00 -0000 [thread overview]
Message-ID: <bug-55172-4-NxuYbE8h8b@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55172-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55172
janus at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-11-02
Summary|[OOP] ICE on invalid: |[4.7/4.8 Regression] [OOP]
|gfc_variable_attr(): Bad |ICE on invalid:
|array reference |gfc_variable_attr(): Bad
| |array reference
Ever Confirmed|0 |1
--- Comment #1 from janus at gcc dot gnu.org 2012-11-02 11:07:33 UTC ---
(In reply to comment #0)
> (Reported by Janus at http://gcc.gnu.org/ml/fortran/2012-11/msg00005.html):
> With 4.7 the ICE also occurs, but only after the correct error message:
>
> select type (component => self%cb(i))
> 1
> Error: Symbol 'i' at (1) has no IMPLICIT type
Yes, therefore it's a regression in 4.7 (ICE after error) and 4.8 (ICE only).
4.6 of course rejects it ('cleanly') with:
class(ncb), allocatable, dimension(:) :: cb
1
Fatal Error: Polymorphic array at (1) not yet supported
(Side note: The 'fatal' seems a bit strong here, but that was probably used to
suppress further error messages.)
next prev parent reply other threads:[~2012-11-02 11:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-01 22:42 [Bug fortran/55172] New: " abensonca at gmail dot com
2012-11-02 11:07 ` janus at gcc dot gnu.org [this message]
2012-11-02 12:10 ` [Bug fortran/55172] [4.7/4.8 Regression] [OOP] " janus at gcc dot gnu.org
2012-11-25 15:55 ` rguenth at gcc dot gnu.org
2012-11-29 8:41 ` jakub at gcc dot gnu.org
2013-01-02 12:35 ` pault at gcc dot gnu.org
2013-01-04 20:51 ` pault at gcc dot gnu.org
2013-01-05 7:52 ` [Bug fortran/55172] [4.7 only] [OOP] gfc_variable_attr(): Bad array reference in SELECT TYPE pault at gcc dot gnu.org
2013-04-11 7:59 ` [Bug fortran/55172] [4.7 Regression] " rguenth at gcc dot gnu.org
2014-01-19 12:20 ` 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-55172-4-NxuYbE8h8b@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).