public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95504] New: ICE in transfer_array_component, at fortran/trans-io.c:2167
@ 2020-06-03 15:47 gscfq@t-online.de
2020-06-03 15:48 ` [Bug fortran/95504] " gscfq@t-online.de
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: gscfq@t-online.de @ 2020-06-03 15:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95504
Bug ID: 95504
Summary: ICE in transfer_array_component, at
fortran/trans-io.c:2167
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: ---
Started with r8 before 20180525 :
$ cat z1.f90
program p
type t(n)
integer, len :: n
integer, pointer :: a(:)
end type
type(t(3)) :: z
print *, z
end
$ cat z2.f90
program p
type t(n)
integer, len :: n
integer, allocatable :: a(:)
end type
type(t(3)) :: z
print *, z
end
$ gfortran-11-20200531 -c z1.f90
z1.f90:7:0:
7 | print *, z
|
internal compiler error: Segmentation fault
0xbc37bf crash_signal
../../gcc/toplev.c:328
0x75e576 transfer_array_component
../../gcc/fortran/trans-io.c:2167
0x75de47 transfer_expr
../../gcc/fortran/trans-io.c:2471
0x7616a0 gfc_trans_transfer(gfc_code*)
../../gcc/fortran/trans-io.c:2661
0x7017f7 trans_code
../../gcc/fortran/trans.c:2084
0x75f16e build_dt
../../gcc/fortran/trans-io.c:2026
0x7017d7 trans_code
../../gcc/fortran/trans.c:2056
0x72ad24 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6840
0x6b25e6 translate_all_program_units
../../gcc/fortran/parse.c:6306
0x6b25e6 gfc_parse_file()
../../gcc/fortran/parse.c:6545
0x6fdfff gfc_be_parse_file
../../gcc/fortran/f95-lang.c:210
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/95504] ICE in transfer_array_component, at fortran/trans-io.c:2167
2020-06-03 15:47 [Bug fortran/95504] New: ICE in transfer_array_component, at fortran/trans-io.c:2167 gscfq@t-online.de
@ 2020-06-03 15:48 ` gscfq@t-online.de
2020-06-03 18:43 ` [Bug fortran/95504] [PDT] " anlauf at gcc dot gnu.org
2023-06-30 8:12 ` pault at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: gscfq@t-online.de @ 2020-06-03 15:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95504
G. Steinmetz <gscfq@t-online.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
--- Comment #1 from G. Steinmetz <gscfq@t-online.de> ---
With a non-parameterized type instead :
$ cat zz1.f90
program p
type t
integer :: n
integer, pointer :: a(:)
end type
type(t) :: z
print *, z
end
$ gfortran-11-20200531 -c zz1.f90
zz1.f90:7:13:
7 | print *, z
| 1
Error: Data transfer element at (1) cannot have POINTER components unless it is
processed by a defined input/output procedure
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/95504] [PDT] ICE in transfer_array_component, at fortran/trans-io.c:2167
2020-06-03 15:47 [Bug fortran/95504] New: ICE in transfer_array_component, at fortran/trans-io.c:2167 gscfq@t-online.de
2020-06-03 15:48 ` [Bug fortran/95504] " gscfq@t-online.de
@ 2020-06-03 18:43 ` anlauf at gcc dot gnu.org
2023-06-30 8:12 ` pault at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-06-03 18:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95504
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE in |[PDT] ICE in
|transfer_array_component, |transfer_array_component,
|at fortran/trans-io.c:2167 |at fortran/trans-io.c:2167
Last reconfirmed| |2020-06-03
Priority|P3 |P4
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from anlauf at gcc dot gnu.org ---
Confirmed.
Adding "PDT" to subject line.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/95504] [PDT] ICE in transfer_array_component, at fortran/trans-io.c:2167
2020-06-03 15:47 [Bug fortran/95504] New: ICE in transfer_array_component, at fortran/trans-io.c:2167 gscfq@t-online.de
2020-06-03 15:48 ` [Bug fortran/95504] " gscfq@t-online.de
2020-06-03 18:43 ` [Bug fortran/95504] [PDT] " anlauf at gcc dot gnu.org
@ 2023-06-30 8:12 ` pault at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pault at gcc dot gnu.org @ 2023-06-30 8:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95504
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |82173
CC| |pault at gcc dot gnu.org
--- Comment #3 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] 4+ messages in thread
end of thread, other threads:[~2023-06-30 8:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-03 15:47 [Bug fortran/95504] New: ICE in transfer_array_component, at fortran/trans-io.c:2167 gscfq@t-online.de
2020-06-03 15:48 ` [Bug fortran/95504] " gscfq@t-online.de
2020-06-03 18:43 ` [Bug fortran/95504] [PDT] " anlauf at gcc dot gnu.org
2023-06-30 8:12 ` 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).