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/58026] [OOP] Bad error recovery for allocatable component of undeclared type Date: Thu, 09 Jan 2014 14:28:00 -0000 [thread overview] Message-ID: <bug-58026-4-f2MCjKVwfd@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-58026-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58026 --- Comment #11 from janus at gcc dot gnu.org --- Further reduced test case for the error recovery: type sysmtx_t type(ext_complex_t), allocatable :: S(:) end type end Trunk (and 4.4 - 4.8) yield: c3.f90:3.40: type(ext_complex_t), allocatable :: S(:) 1 Error: Derived type at (1) has not been previously defined and so cannot appear in a derived type definition c3.f90:3.45: type(ext_complex_t), allocatable :: S(:) 1 Error: The pointer component 's' of 'sysmtx_t' at (1) is a type that has not been declared With the patch in comment 4 the second error, which is bogus, is removed.
next prev parent reply other threads:[~2014-01-09 14:28 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-07-30 6:21 [Bug fortran/58026] New: internal compiler error: in generate_finalization_wrapper, at fortran/class.c:1521 Joost.VandeVondele at mat dot ethz.ch 2013-07-30 8:27 ` [Bug fortran/58026] [4.9 Regression] " dominiq at lps dot ens.fr 2013-07-30 11:42 ` burnus at gcc dot gnu.org 2013-07-30 12:19 ` [Bug fortran/58026] [4.9 Regression] [OOP] ICE " janus at gcc dot gnu.org 2013-07-30 12:21 ` janus at gcc dot gnu.org 2013-07-30 14:26 ` janus at gcc dot gnu.org 2013-08-28 9:18 ` rguenth at gcc dot gnu.org 2013-10-30 13:18 ` rguenth at gcc dot gnu.org 2013-11-25 20:48 ` janus at gcc dot gnu.org 2013-11-25 20:57 ` burnus at gcc dot gnu.org 2014-01-09 10:49 ` janus at gcc dot gnu.org 2014-01-09 13:45 ` janus at gcc dot gnu.org 2014-01-09 14:14 ` [Bug fortran/58026] [OOP] Bad error recovery for allocatable component of undeclared type janus at gcc dot gnu.org 2014-01-09 14:28 ` janus at gcc dot gnu.org [this message] 2014-01-12 11:09 ` [Bug fortran/58026] [F03] " janus at gcc dot gnu.org 2014-01-12 11:12 ` 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-58026-4-f2MCjKVwfd@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: linkBe 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).