public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gscfq@t-online.de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/96012] New: [9/10/11 Regression] ICE in fold_convert_loc, at fold-const.c:2558 Date: Tue, 30 Jun 2020 20:10:51 +0000 [thread overview] Message-ID: <bug-96012-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96012 Bug ID: 96012 Summary: [9/10/11 Regression] ICE in fold_convert_loc, at fold-const.c:2558 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, affects versions down to r8 : $ cat z1.f90 program p type t end type class(*), allocatable :: x(:) x = [t()] end $ cat z2.f90 program p type t integer :: a end type class(*), allocatable :: x(:) x = [t(1)] end $ gfortran-7 -c z1.f90 $ $ gfortran-11-20200628 -c z1.f90 z1.f90:5:0: 5 | x = [t()] | internal compiler error: in fold_convert_loc, at fold-const.c:2558 0x900033 fold_convert_loc(unsigned int, tree_node*, tree_node*) ../../gcc/fold-const.c:2558 0x705f6a gfc_allocate_using_malloc(stmtblock_t*, tree_node*, tree_node*, tree_node*) ../../gcc/fortran/trans.c:714 0x7456ab trans_class_assignment ../../gcc/fortran/trans-expr.c:10649 0x7456ab gfc_trans_assignment_1 ../../gcc/fortran/trans-expr.c:11042 0x704c37 trans_code ../../gcc/fortran/trans.c:1864 0x72e1d4 gfc_generate_function_code(gfc_namespace*) ../../gcc/fortran/trans-decl.c:6840 0x6b5cb6 translate_all_program_units ../../gcc/fortran/parse.c:6307 0x6b5cb6 gfc_parse_file() ../../gcc/fortran/parse.c:6546 0x7016ff gfc_be_parse_file ../../gcc/fortran/f95-lang.c:212
next reply other threads:[~2020-06-30 20:10 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-06-30 20:10 gscfq@t-online.de [this message] 2020-07-01 6:51 ` [Bug fortran/96012] " rguenth at gcc dot gnu.org 2020-07-01 7:06 ` marxin at gcc dot gnu.org 2020-12-18 14:00 ` cvs-commit at gcc dot gnu.org 2020-12-20 10:16 ` drikosev at gmail dot com 2021-01-07 11:19 ` cvs-commit at gcc dot gnu.org 2021-01-07 11:34 ` cvs-commit at gcc dot gnu.org 2021-03-26 19:44 ` anlauf at gcc dot gnu.org 2021-06-01 8:17 ` [Bug fortran/96012] [9/10/11/12 " rguenth at gcc dot gnu.org 2021-06-01 12:18 ` dominiq at lps dot ens.fr
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-96012-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).