public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/102816] New: [12 Regression] ICE in resolve_structure_cons, at fortran/resolve.c:1467
@ 2021-10-18 18:22 gscfq@t-online.de
  2021-10-19  7:28 ` [Bug fortran/102816] [12 Regression] ICE in resolve_structure_cons, at fortran/resolve.c:1467 since r12-4452-g1e819bd95ebeefc1 marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2021-10-18 18:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102816

            Bug ID: 102816
           Summary: [12 Regression] ICE in resolve_structure_cons, at
                    fortran/resolve.c:1467
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20211010 and 20211017 :


$ cat z1.f90
program p
   type t
      integer :: a([2])
   end type
   type(t) :: x = t([3, 4])
end


$ gfortran-12-20211017 -c z1.f90
f951: internal compiler error: in resolve_structure_cons, at
fortran/resolve.c:1467
0x81a894 resolve_structure_cons
        ../../gcc/fortran/resolve.c:1466
0x80a31c resolve_generic_f
        ../../gcc/fortran/resolve.c:2799
0x80a31c resolve_function
        ../../gcc/fortran/resolve.c:3301
0x80a31c gfc_resolve_expr(gfc_expr*)
        ../../gcc/fortran/resolve.c:7143
0x79c024 gfc_reduce_init_expr(gfc_expr*)
        ../../gcc/fortran/expr.c:3125
0x79f290 gfc_match_init_expr(gfc_expr**)
        ../../gcc/fortran/expr.c:3173
0x789a04 variable_decl
        ../../gcc/fortran/decl.c:3019
0x789a04 gfc_match_data_decl()
        ../../gcc/fortran/decl.c:6328
0x7f2d63 match_word
        ../../gcc/fortran/parse.c:67
0x7f2d63 decode_statement
        ../../gcc/fortran/parse.c:378
0x7f47aa next_free
        ../../gcc/fortran/parse.c:1388
0x7f47aa next_statement
        ../../gcc/fortran/parse.c:1620
0x7f5ecb parse_spec
        ../../gcc/fortran/parse.c:4159
0x7f8c9c parse_progunit
        ../../gcc/fortran/parse.c:6125
0x7fa421 gfc_parse_file()
        ../../gcc/fortran/parse.c:6666
0x8476bf gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

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

end of thread, other threads:[~2021-11-13 20:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 18:22 [Bug fortran/102816] New: [12 Regression] ICE in resolve_structure_cons, at fortran/resolve.c:1467 gscfq@t-online.de
2021-10-19  7:28 ` [Bug fortran/102816] [12 Regression] ICE in resolve_structure_cons, at fortran/resolve.c:1467 since r12-4452-g1e819bd95ebeefc1 marxin at gcc dot gnu.org
2021-10-19  7:41 ` rguenth at gcc dot gnu.org
2021-10-22 19:37 ` anlauf at gcc dot gnu.org
2021-10-26 18:52 ` cvs-commit at gcc dot gnu.org
2021-11-07 20:54 ` cvs-commit at gcc dot gnu.org
2021-11-13 20:15 ` cvs-commit at gcc dot gnu.org
2021-11-13 20:19 ` anlauf 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).