public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/100155] New: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805
@ 2021-04-20 17:39 gscfq@t-online.de
2021-04-20 17:39 ` [Bug fortran/100155] " gscfq@t-online.de
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2021-04-20 17:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100155
Bug ID: 100155
Summary: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size,
at fortran/trans-intrinsic.c:805
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Changed between 20181014 and 20181021 :
(r8 changed between 20190503 and 20190614)
$ cat z1.f90
program p
type t
end type
contains
recursive function f(x) result(z)
class(*):: x(:)
type(t) :: z(size(x))
class(t), allocatable :: a(:)
class(t), allocatable :: b(:)
b = f((a))
end
end
$ cat z2.f90
program p
type t
end type
contains
recursive function f(x) result(z)
class(*):: x(:)
type(t) :: z(size(x))
class(t), pointer :: a(:)
class(t), allocatable :: b(:)
b = f((a))
end
end
$ gfortran-9-20181014 -c z1.f90
$
$ gfortran-11-20210418 -c z1.f90
z1.f90:10:16:
10 | b = f((a))
| 1
internal compiler error: Segmentation fault
0xc0b22f crash_signal
../../gcc/toplev.c:327
0x77abf7 gfc_conv_intrinsic_size
../../gcc/fortran/trans-intrinsic.c:8055
0x79211b gfc_conv_intrinsic_function(gfc_se*, gfc_expr*)
../../gcc/fortran/trans-intrinsic.c:10702
0x76766a gfc_conv_expr(gfc_se*, gfc_expr*)
../../gcc/fortran/trans-expr.c:8967
0x769b0a gfc_apply_interface_mapping(gfc_interface_mapping*, gfc_se*,
gfc_expr*)
../../gcc/fortran/trans-expr.c:4830
0x73c647 gfc_set_loop_bounds_from_array_spec(gfc_interface_mapping*, gfc_se*,
gfc_array_spec*)
../../gcc/fortran/trans-array.c:940
0x773e5e gfc_conv_procedure_call(gfc_se*, gfc_symbol*, gfc_actual_arglist*,
gfc_expr*, vec<tree_node*, va_gc, vl_embed>*)
../../gcc/fortran/trans-expr.c:7041
0x77547c gfc_trans_arrayfunc_assign
../../gcc/fortran/trans-expr.c:10441
0x778fd4 gfc_trans_assignment(gfc_expr*, gfc_expr*, bool, bool, bool, bool)
../../gcc/fortran/trans-expr.c:11610
0x739707 trans_code
../../gcc/fortran/trans.c:1932
0x75fd34 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6884
0x75fb34 gfc_generate_contained_functions
../../gcc/fortran/trans-decl.c:5878
0x75fb34 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6816
0x6e66b6 translate_all_program_units
../../gcc/fortran/parse.c:6351
0x6e66b6 gfc_parse_file()
../../gcc/fortran/parse.c:6620
0x7329cf gfc_be_parse_file
../../gcc/fortran/f95-lang.c:212
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100155] [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805
2021-04-20 17:39 [Bug fortran/100155] New: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805 gscfq@t-online.de
@ 2021-04-20 17:39 ` gscfq@t-online.de
2021-04-21 6:20 ` marxin at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2021-04-20 17:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100155
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
Compiles without these extra parentheses in f((a)) :
$ cat z0.f90
program p
type t
end type
contains
recursive function f(x) result(z)
class(*):: x(:)
type(t) :: z(size(x))
class(t), allocatable :: a(:)
class(t), allocatable :: b(:)
b = f(a)
end
end
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100155] [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805
2021-04-20 17:39 [Bug fortran/100155] New: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805 gscfq@t-online.de
2021-04-20 17:39 ` [Bug fortran/100155] " gscfq@t-online.de
@ 2021-04-21 6:20 ` marxin at gcc dot gnu.org
2021-04-21 6:20 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-04-21 6:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100155
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-04-21
Ever confirmed|0 |1
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r9-3522-gd0477233215e37de.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100155] [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805
2021-04-20 17:39 [Bug fortran/100155] New: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805 gscfq@t-online.de
2021-04-20 17:39 ` [Bug fortran/100155] " gscfq@t-online.de
2021-04-21 6:20 ` marxin at gcc dot gnu.org
@ 2021-04-21 6:20 ` rguenth at gcc dot gnu.org
2021-06-01 8:20 ` [Bug fortran/100155] [9/10/11/12 " rguenth at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-04-21 6:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100155
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Target Milestone|--- |9.4
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100155] [9/10/11/12 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805
2021-04-20 17:39 [Bug fortran/100155] New: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805 gscfq@t-online.de
` (2 preceding siblings ...)
2021-04-21 6:20 ` rguenth at gcc dot gnu.org
@ 2021-06-01 8:20 ` rguenth at gcc dot gnu.org
2022-05-27 9:45 ` [Bug fortran/100155] [10/11/12/13 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100155
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #3 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] 8+ messages in thread
* [Bug fortran/100155] [10/11/12/13 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805
2021-04-20 17:39 [Bug fortran/100155] New: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805 gscfq@t-online.de
` (3 preceding siblings ...)
2021-06-01 8:20 ` [Bug fortran/100155] [9/10/11/12 " rguenth at gcc dot gnu.org
@ 2022-05-27 9:45 ` rguenth at gcc dot gnu.org
2022-06-28 10:44 ` jakub at gcc dot gnu.org
2023-07-07 10:39 ` [Bug fortran/100155] [11/12/13/14 " rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100155
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug fortran/100155] [10/11/12/13 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805
2021-04-20 17:39 [Bug fortran/100155] New: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805 gscfq@t-online.de
` (4 preceding siblings ...)
2022-05-27 9:45 ` [Bug fortran/100155] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:44 ` jakub at gcc dot gnu.org
2023-07-07 10:39 ` [Bug fortran/100155] [11/12/13/14 " rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100155
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #5 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] 8+ messages in thread
* [Bug fortran/100155] [11/12/13/14 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805
2021-04-20 17:39 [Bug fortran/100155] New: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805 gscfq@t-online.de
` (5 preceding siblings ...)
2022-06-28 10:44 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:39 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100155
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-07-07 10:39 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-20 17:39 [Bug fortran/100155] New: [9/10/11 Regression] ICE in gfc_conv_intrinsic_size, at fortran/trans-intrinsic.c:805 gscfq@t-online.de
2021-04-20 17:39 ` [Bug fortran/100155] " gscfq@t-online.de
2021-04-21 6:20 ` marxin at gcc dot gnu.org
2021-04-21 6:20 ` rguenth at gcc dot gnu.org
2021-06-01 8:20 ` [Bug fortran/100155] [9/10/11/12 " rguenth at gcc dot gnu.org
2022-05-27 9:45 ` [Bug fortran/100155] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:44 ` jakub at gcc dot gnu.org
2023-07-07 10:39 ` [Bug fortran/100155] [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).