public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/104096] New: ICE with parameterized derived type (PDT) @ 2022-01-18 14:49 vivekrao4 at yahoo dot com 2022-01-18 15:08 ` [Bug fortran/104096] " marxin at gcc dot gnu.org ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: vivekrao4 at yahoo dot com @ 2022-01-18 14:49 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104096 Bug ID: 104096 Summary: ICE with parameterized derived type (PDT) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: vivekrao4 at yahoo dot com Target Milestone: --- gfortran-11 --version GNU Fortran (Ubuntu 11.1.0-1ubuntu1~20.04) 11.1.0 <snip> (base) /mnt/c/fortran/test$ cat pdt_sub.f90 module m implicit none type :: t(n) integer, len :: n = 0 integer :: vec(n) end type t contains subroutine disp(dt) type(t(n=*)), intent(in) :: dt print*,dt%vec end subroutine disp end module m ! program main use m, only: t, disp implicit none integer, parameter :: n = 3 type(t(n)) :: x x%vec = [1,4,9] print*,x%vec call disp(x) end program main (base) /mnt/c/fortran/test$ gfortran-11 pdt_sub.f90 f951: internal compiler error: gfc_compare_array_spec(): Array spec clobbered 0x14f8018 gfc_internal_error(char const*, ...) ???:0 0x14a723b gfc_compare_array_spec(gfc_array_spec*, gfc_array_spec*) ???:0 0x14fb98a gfc_compare_derived_types(gfc_symbol*, gfc_symbol*) ???:0 0x15014b0 gfc_compare_actual_formal(gfc_actual_arglist**, gfc_formal_arglist*, int, int, bool, locus*) ???:0 0x150283b gfc_procedure_use(gfc_symbol*, gfc_actual_arglist**, locus*) ???:0 0x1591c97 gfc_resolve_code(gfc_code*, gfc_namespace*) ???:0 0x1572ad1 gfc_parse_file() ???:0 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/104096] ICE with parameterized derived type (PDT) 2022-01-18 14:49 [Bug fortran/104096] New: ICE with parameterized derived type (PDT) vivekrao4 at yahoo dot com @ 2022-01-18 15:08 ` marxin at gcc dot gnu.org 2022-01-19 10:16 ` rguenth at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: marxin at gcc dot gnu.org @ 2022-01-18 15:08 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104096 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 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- Started with r11-4766-gc283a711c850efaa, it was rejected before the revision. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/104096] ICE with parameterized derived type (PDT) 2022-01-18 14:49 [Bug fortran/104096] New: ICE with parameterized derived type (PDT) vivekrao4 at yahoo dot com 2022-01-18 15:08 ` [Bug fortran/104096] " marxin at gcc dot gnu.org @ 2022-01-19 10:16 ` rguenth at gcc dot gnu.org 2022-05-18 20:50 ` kargl at gcc dot gnu.org 2023-06-30 8:42 ` pault at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: rguenth at gcc dot gnu.org @ 2022-01-19 10:16 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104096 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2022-01-19 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/104096] ICE with parameterized derived type (PDT) 2022-01-18 14:49 [Bug fortran/104096] New: ICE with parameterized derived type (PDT) vivekrao4 at yahoo dot com 2022-01-18 15:08 ` [Bug fortran/104096] " marxin at gcc dot gnu.org 2022-01-19 10:16 ` rguenth at gcc dot gnu.org @ 2022-05-18 20:50 ` kargl at gcc dot gnu.org 2023-06-30 8:42 ` pault at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: kargl at gcc dot gnu.org @ 2022-05-18 20:50 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104096 kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #2 from kargl at gcc dot gnu.org --- This code now compiles and executes. Don't know if the code conforms to the Fortran standard. % gfcx -o z a.f90 && ./z 1 4 9 1 4 9 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/104096] ICE with parameterized derived type (PDT) 2022-01-18 14:49 [Bug fortran/104096] New: ICE with parameterized derived type (PDT) vivekrao4 at yahoo dot com ` (2 preceding siblings ...) 2022-05-18 20:50 ` kargl at gcc dot gnu.org @ 2023-06-30 8:42 ` pault at gcc dot gnu.org 3 siblings, 0 replies; 5+ messages in thread From: pault at gcc dot gnu.org @ 2023-06-30 8:42 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104096 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] 5+ messages in thread
end of thread, other threads:[~2023-06-30 8:42 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-01-18 14:49 [Bug fortran/104096] New: ICE with parameterized derived type (PDT) vivekrao4 at yahoo dot com 2022-01-18 15:08 ` [Bug fortran/104096] " marxin at gcc dot gnu.org 2022-01-19 10:16 ` rguenth at gcc dot gnu.org 2022-05-18 20:50 ` kargl at gcc dot gnu.org 2023-06-30 8:42 ` 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).