public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/102686] New: [PDT] ICE in check_host_association, at fortran/resolve.c:6055
@ 2021-10-11 17:07 gscfq@t-online.de
  2021-10-12 12:50 ` [Bug fortran/102686] " marxin at gcc dot gnu.org
  2023-06-30  8:31 ` pault at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: gscfq@t-online.de @ 2021-10-11 17:07 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 102686
           Summary: [PDT] ICE in check_host_association, at
                    fortran/resolve.c:6055
           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 with r8 :


$ cat z1.f90
module m
   implicit none
contains
   integer function n()
      n = 1
   end
   subroutine s
      type t(n)
         integer, len :: n = 2
         character(n) :: c
      end type
   end
end


$ cat z2.f90
module m
   implicit none
contains
   subroutine s
      type t(n)
         integer, len :: n = 2
         character(n) :: c
      end type
   end
   integer function n()
      n = 1
   end
end


$ gfortran-12-20211010 -c z1.f90
f951: internal compiler error: Segmentation fault
0xd43fcf crash_signal
        ../../gcc/toplev.c:326
0x806716 check_host_association
        ../../gcc/fortran/resolve.c:6055
0x806716 gfc_resolve_expr(gfc_expr*)
        ../../gcc/fortran/resolve.c:7114
0x79a244 gfc_reduce_init_expr(gfc_expr*)
        ../../gcc/fortran/expr.c:3125
0x77b972 char_len_param_value
        ../../gcc/fortran/decl.c:1126
0x77e690 gfc_match_char_spec(gfc_typespec*)
        ../../gcc/fortran/decl.c:3553
0x785037 gfc_match_decl_type_spec(gfc_typespec*, int)
        ../../gcc/fortran/decl.c:4294
0x7865dc gfc_match_data_decl()
        ../../gcc/fortran/decl.c:6254
0x7f01d3 match_word
        ../../gcc/fortran/parse.c:65
0x7f01d3 decode_statement
        ../../gcc/fortran/parse.c:376
0x7f1c1a next_free
        ../../gcc/fortran/parse.c:1384
0x7f1c1a next_statement
        ../../gcc/fortran/parse.c:1616
0x7f3774 parse_derived
        ../../gcc/fortran/parse.c:3571
0x7f3774 parse_spec
        ../../gcc/fortran/parse.c:4112
0x7f610c parse_progunit
        ../../gcc/fortran/parse.c:6117
0x7f64f1 parse_contained
        ../../gcc/fortran/parse.c:6018
0x7f73b7 parse_module
        ../../gcc/fortran/parse.c:6391
0x7f76e7 gfc_parse_file()
        ../../gcc/fortran/parse.c:6694
0x84480f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.c:216

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

* [Bug fortran/102686] [PDT] ICE in check_host_association, at fortran/resolve.c:6055
  2021-10-11 17:07 [Bug fortran/102686] New: [PDT] ICE in check_host_association, at fortran/resolve.c:6055 gscfq@t-online.de
@ 2021-10-12 12:50 ` marxin at gcc dot gnu.org
  2023-06-30  8:31 ` pault at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-10-12 12:50 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-10-12
     Ever confirmed|0                           |1
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |pault at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r8-3056-g5bab4c9631c478b7.

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

* [Bug fortran/102686] [PDT] ICE in check_host_association, at fortran/resolve.c:6055
  2021-10-11 17:07 [Bug fortran/102686] New: [PDT] ICE in check_host_association, at fortran/resolve.c:6055 gscfq@t-online.de
  2021-10-12 12:50 ` [Bug fortran/102686] " marxin at gcc dot gnu.org
@ 2023-06-30  8:31 ` pault at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pault at gcc dot gnu.org @ 2023-06-30  8:31 UTC (permalink / raw)
  To: gcc-bugs

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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |82173

--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> ---
Added to PDT meta-bug


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82173
[Bug 82173] [meta-bug] [PDT] Parameterized derived type errors

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

end of thread, other threads:[~2023-06-30  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11 17:07 [Bug fortran/102686] New: [PDT] ICE in check_host_association, at fortran/resolve.c:6055 gscfq@t-online.de
2021-10-12 12:50 ` [Bug fortran/102686] " marxin at gcc dot gnu.org
2023-06-30  8:31 ` pault 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).