public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/102310] New: ICE in visit_ref_for_mod_analysis with OpenACC
@ 2021-09-13 17:06 ygribov at gcc dot gnu.org
  2021-09-14  6:54 ` [Bug ipa/102310] [11/12 Regression] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ygribov at gcc dot gnu.org @ 2021-09-13 17:06 UTC (permalink / raw)
  To: gcc-bugs

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-04-30 13:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 17:06 [Bug middle-end/102310] New: ICE in visit_ref_for_mod_analysis with OpenACC ygribov at gcc dot gnu.org
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

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).