public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/58026] New: internal compiler error: in generate_finalization_wrapper, at fortran/class.c:1521
@ 2013-07-30  6:21 Joost.VandeVondele at mat dot ethz.ch
  2013-07-30  8:27 ` [Bug fortran/58026] [4.9 Regression] " dominiq at lps dot ens.fr
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2013-07-30  6:21 UTC (permalink / raw)
  To: gcc-bugs

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)


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-01-12 11:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).