public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikael at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/103789] New: ICE when providing kind argument to mask{l,r} Date: Tue, 21 Dec 2021 12:04:42 +0000 [thread overview] Message-ID: <bug-103789-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103789 Bug ID: 103789 Summary: ICE when providing kind argument to mask{l,r} Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mikael at gcc dot gnu.org Target Milestone: --- program p integer :: z(2), y(2) y = [1, 13] z = maskl(y, kind=4) + 1 end test.f90:4:27: 4 | z = maskl(y, kind=4) + 1 | 1 internal compiler error: in gfc_conv_constant, at fortran/trans-const.c:415 0x682a2a gfc_conv_constant(gfc_se*, gfc_expr*) ../../src/gcc/fortran/trans-const.c:415 0x9b83b7 gfc_conv_expr_op ../../src/gcc/fortran/trans-expr.c:3894 0x9b83b7 gfc_conv_expr(gfc_se*, gfc_expr*) ../../src/gcc/fortran/trans-expr.c:9390 0x9c52ac gfc_trans_assignment_1 ../../src/gcc/fortran/trans-expr.c:11687 0x975837 trans_code ../../src/gcc/fortran/trans.c:1916 0x9a7b4f gfc_generate_function_code(gfc_namespace*) ../../src/gcc/fortran/trans-decl.c:7644 0x92223e translate_all_program_units ../../src/gcc/fortran/parse.c:6638 0x92223e gfc_parse_file() ../../src/gcc/fortran/parse.c:6925 0x9726ff gfc_be_parse_file ../../src/gcc/fortran/f95-lang.c:216
next reply other threads:[~2021-12-21 12:04 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-21 12:04 mikael at gcc dot gnu.org [this message] 2021-12-21 12:09 ` [Bug fortran/103789] " mikael at gcc dot gnu.org 2021-12-21 13:58 ` marxin at gcc dot gnu.org 2021-12-28 21:21 ` anlauf at gcc dot gnu.org 2022-01-09 17:10 ` cvs-commit at gcc dot gnu.org 2022-01-16 18:16 ` cvs-commit at gcc dot gnu.org 2022-01-16 21:20 ` cvs-commit at gcc dot gnu.org 2022-01-16 21:20 ` cvs-commit at gcc dot gnu.org 2022-01-17 10:50 ` cvs-commit at gcc dot gnu.org 2022-01-17 11:06 ` mikael at gcc dot gnu.org
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-103789-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).