public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/93832] [9/10/11/12 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100
       [not found] <bug-93832-4@http.gcc.gnu.org/bugzilla/>
@ 2021-05-14  9:53 ` jakub at gcc dot gnu.org
  2021-06-01  8:16 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14  9:53 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|8.5                         |9.4

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.

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

* [Bug fortran/93832] [9/10/11/12 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100
       [not found] <bug-93832-4@http.gcc.gnu.org/bugzilla/>
  2021-05-14  9:53 ` [Bug fortran/93832] [9/10/11/12 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100 jakub at gcc dot gnu.org
@ 2021-06-01  8:16 ` rguenth at gcc dot gnu.org
  2022-01-24 20:38 ` gscfq@t-online.de
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01  8:16 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.4                         |9.5

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.

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

* [Bug fortran/93832] [9/10/11/12 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100
       [not found] <bug-93832-4@http.gcc.gnu.org/bugzilla/>
  2021-05-14  9:53 ` [Bug fortran/93832] [9/10/11/12 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100 jakub at gcc dot gnu.org
  2021-06-01  8:16 ` rguenth at gcc dot gnu.org
@ 2022-01-24 20:38 ` gscfq@t-online.de
  2022-01-24 20:39 ` gscfq@t-online.de
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2022-01-24 20:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from G. Steinmetz <gscfq@t-online.de> ---

With the latest gcc snapshot and configured with --enable-checking=yes 
the testcase from comment#0 still produces an ICE :


$ gfortran-12-20220123-chk -c z1.f90
z1.f90:7:28:

    7 |    type(t) :: z = t('a', 2, [3])
      |                            1
Error: Bad array spec of component 'c' referenced in structure constructor at
(1)
f951: internal compiler error: Segmentation fault
0xe6bd5f crash_signal
        ../../gcc/toplev.cc:322
0x796aa5 gfc_convert_to_structure_constructor(gfc_expr*, gfc_symbol*,
gfc_expr**, gfc_actual_arglist**, bool)
        ../../gcc/fortran/primary.cc:3204
0x7a0fca resolve_generic_f
        ../../gcc/fortran/resolve.cc:2801
0x7a0fca resolve_function
        ../../gcc/fortran/resolve.cc:3321
0x7a0fca gfc_resolve_expr(gfc_expr*)
        ../../gcc/fortran/resolve.cc:7169
0x6f9164 resolve_array_bound
        ../../gcc/fortran/array.cc:378
0x6f9e46 gfc_resolve_array_spec(gfc_array_spec*, int)
        ../../gcc/fortran/array.cc:422
0x7afbca resolve_component
        ../../gcc/fortran/resolve.cc:14887
0x7b08e2 resolve_fl_derived0
        ../../gcc/fortran/resolve.cc:15006
0x7b0c2a resolve_fl_derived
        ../../gcc/fortran/resolve.cc:15135
0x7aa6f7 resolve_symbol
        ../../gcc/fortran/resolve.cc:15505
0x7c9922 do_traverse_symtree
        ../../gcc/fortran/symbol.cc:4174
0x7adca4 resolve_types
        ../../gcc/fortran/resolve.cc:17455
0x7a913c gfc_resolve(gfc_namespace*)
        ../../gcc/fortran/resolve.cc:17570
0x791474 resolve_all_program_units
        ../../gcc/fortran/parse.cc:6586
0x791474 gfc_parse_file()
        ../../gcc/fortran/parse.cc:6842
0x7df71f gfc_be_parse_file
        ../../gcc/fortran/f95-lang.cc:216

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

* [Bug fortran/93832] [9/10/11/12 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100
       [not found] <bug-93832-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2022-01-24 20:38 ` gscfq@t-online.de
@ 2022-01-24 20:39 ` gscfq@t-online.de
  2022-05-27  9:42 ` [Bug fortran/93832] [10/11/12/13 " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: gscfq@t-online.de @ 2022-01-24 20:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from G. Steinmetz <gscfq@t-online.de> ---

If modified a little, even a release version will suffice :

$ cat z2.f90
program p
   type t
      character :: a
      integer :: b(t(1))
   end type
   type(t) :: x = t('a', 2)
end

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

* [Bug fortran/93832] [10/11/12/13 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100
       [not found] <bug-93832-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2022-01-24 20:39 ` gscfq@t-online.de
@ 2022-05-27  9:42 ` rguenth at gcc dot gnu.org
  2022-06-28 10:39 ` jakub at gcc dot gnu.org
  2023-07-07 10:36 ` [Bug fortran/93832] [11/12/13/14 " rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  9:42 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.5                         |10.4

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed

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

* [Bug fortran/93832] [10/11/12/13 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100
       [not found] <bug-93832-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2022-05-27  9:42 ` [Bug fortran/93832] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:39 ` jakub at gcc dot gnu.org
  2023-07-07 10:36 ` [Bug fortran/93832] [11/12/13/14 " rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:39 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.

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

* [Bug fortran/93832] [11/12/13/14 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100
       [not found] <bug-93832-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2022-06-28 10:39 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:36 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:36 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.5                        |11.5

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.

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

end of thread, other threads:[~2023-07-07 10:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93832-4@http.gcc.gnu.org/bugzilla/>
2021-05-14  9:53 ` [Bug fortran/93832] [9/10/11/12 Regression] ICE in gfc_convert_to_structure_constructor, at fortran/primary.c:3100 jakub at gcc dot gnu.org
2021-06-01  8:16 ` rguenth at gcc dot gnu.org
2022-01-24 20:38 ` gscfq@t-online.de
2022-01-24 20:39 ` gscfq@t-online.de
2022-05-27  9:42 ` [Bug fortran/93832] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:39 ` jakub at gcc dot gnu.org
2023-07-07 10:36 ` [Bug fortran/93832] [11/12/13/14 " rguenth 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).