public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ygribov at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/102310] New: ICE in visit_ref_for_mod_analysis with OpenACC Date: Mon, 13 Sep 2021 17:06:06 +0000 [thread overview] Message-ID: <bug-102310-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102310 Bug ID: 102310 Summary: ICE in visit_ref_for_mod_analysis with OpenACC Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: ygribov at gcc dot gnu.org Target Milestone: --- Created attachment 51455 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51455&action=edit Reprocase Attached code crashes with kernel.f90:30:11: internal compiler error: in visit_ref_for_mod_analysis, at ipa-prop.c:2846 30 | END PROGRAM | ^ 0xa2ea60 visit_ref_for_mod_analysis /home/y.gribov/src/gcc-11/gcc/ipa-prop.c:2846 0xa2ea60 visit_ref_for_mod_analysis /home/y.gribov/src/gcc-11/gcc/ipa-prop.c:2837 0x992861 walk_stmt_load_store_addr_ops(gimple*, void*, bool (*)(gimple*, tree_node*, tree_node*, void*), bool (*)(gimple*, tree_node*, tree_node*, void*), bool (*)(gimple*, tree_node*, tree_node*, void*)) /home/y.gribov/src/gcc-11/gcc/gimple-walk.c:806 0xa3c1a2 ipa_analyze_params_uses_in_bb /home/y.gribov/src/gcc-11/gcc/ipa-prop.c:2870 0xa3c1a2 analysis_dom_walker::before_dom_children(basic_block_def*) /home/y.gribov/src/gcc-11/gcc/ipa-prop.c:2953 0x14eb815 dom_walker::walk(basic_block_def*) /home/y.gribov/src/gcc-11/gcc/domwalk.c:309 0xa3786d ipa_analyze_node(cgraph_node*) /home/y.gribov/src/gcc-11/gcc/ipa-prop.c:3024 0x156d357 ipcp_generate_summary /home/y.gribov/src/gcc-11/gcc/ipa-cp.c:6001 0xb45f6c execute_ipa_summary_passes(ipa_opt_pass_d*) /home/y.gribov/src/gcc-11/gcc/passes.c:2248 0x83b68b ipa_passes /home/y.gribov/src/gcc-11/gcc/cgraphunit.c:2181 0x83b68b symbol_table::compile() /home/y.gribov/src/gcc-11/gcc/cgraphunit.c:2291 0x83d91b symbol_table::compile() /home/y.gribov/src/gcc-11/gcc/cgraphunit.c:2271 0x83d91b symbol_table::finalize_compilation_unit() /home/y.gribov/src/gcc-11/gcc/cgraphunit.c:2539 when compiled with OpenACC-accelerated toolchain targeting GCN. It crashes on master and releases/gcc-11 branches. Compile flags: gfortran -ffree-form -ffree-line-length-none -O2 -fopenacc kernel.f90 Target compiler has been built with configure --target=amdgcn-amdhsa --enable-languages=c,lto,fortran --disable-sjlj-exceptions --with-newlib --enable-as-accelerator-for=x86_64-pc-linux-gnu --with-build-time-tools=/home/y.gribov/install/amdgcn-amdhsa-9.0/bin --disable-libquadmath Host compiler has been build with configure --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --enable-offload-targets=amdgcn-amdhsa=/home/y.gribov/install/gcc-master/usr/local --disable-bootstrap --disable-multilib
next reply other threads:[~2021-09-13 17:06 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-09-13 17:06 ygribov at gcc dot gnu.org [this message] 2021-09-14 6:54 ` [Bug ipa/102310] [11/12 Regression] " rguenth at gcc dot gnu.org 2021-09-14 7:19 ` marxin at gcc dot gnu.org 2021-09-14 7:35 ` tschwinge at gcc dot gnu.org 2021-09-14 8:48 ` tetra2005 at gmail dot com 2021-10-07 15:54 ` hubicka at gcc dot gnu.org 2021-10-08 9:07 ` jamborm at gcc dot gnu.org 2022-04-21 7:50 ` rguenth at gcc dot gnu.org 2022-09-23 15:23 ` [Bug ipa/102310] [11/12/13 " tschwinge at gcc dot gnu.org 2023-05-29 10:05 ` [Bug ipa/102310] [11/12/13/14 " jakub at gcc dot gnu.org 2024-04-30 13:04 ` [Bug ipa/102310] [11/12 " jamborm 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-102310-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).