public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "Joost.VandeVondele at mat dot ethz.ch" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/58026] New: internal compiler error: in generate_finalization_wrapper, at fortran/class.c:1521 Date: Tue, 30 Jul 2013 06:21:00 -0000 [thread overview] Message-ID: <bug-58026-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58026 Bug ID: 58026 Summary: internal compiler error: in generate_finalization_wrapper, at fortran/class.c:1521 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Following invalid testcase yields and ICE with current trunk. > cat small.f90 type sysmtx_t type(ext_complex_t), allocatable :: S(:) ! Block scales end type sysmtx_t contains subroutine init (this, n, n_e, n_i, n_o) class(sysmtx_t), intent(out) :: this > gfortran small.f90 small.f90:2.40: type(ext_complex_t), allocatable :: S(:) ! Block scales 1 Error: Derived type at (1) has not been previously defined and so cannot appear in a derived type definition f951: internal compiler error: in generate_finalization_wrapper, at fortran/class.c:1521 0x54f091 generate_finalization_wrapper ../../gcc/gcc/fortran/class.c:1520 0x54f091 gfc_find_derived_vtab(gfc_symbol*) ../../gcc/gcc/fortran/class.c:2394 0x54fc82 gfc_build_class_symbol(gfc_typespec*, symbol_attribute*, gfc_array_spec**, bool)
next reply other threads:[~2013-07-30 6:21 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-07-30 6:21 Joost.VandeVondele at mat dot ethz.ch [this message] 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 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@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).