[Bug ipa/102310] [11/12 Regression] ICE in visit_ref_for_mod_analysis with OpenACC

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 14 07:19:53 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102310

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-09-14
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
                 CC|                            |julian at codesourcery dot com

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Confirmed. Well, I'm not sure it's about IPA modref, the test-case fails even
w/o any optimization level:

$ gcc pr102310.f90 -c -fopenacc
during RTL pass: expand
pr102310.f90:22:41:

   22 |                 K = IDX(I) + ABC * BB%Y%X
      |                                         ^
internal compiler error: in expand_expr_real_1, at expr.c:10599
0x6be64a expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool)
        /home/marxin/Programming/gcc/gcc/expr.c:10599
0xbd7ac6 store_expr(tree_node*, rtx_def*, int, bool, bool)
        /home/marxin/Programming/gcc/gcc/expr.c:6103
0xbd933d expand_assignment(tree_node*, tree_node*, bool)
        /home/marxin/Programming/gcc/gcc/expr.c:5835
0xa9a75a expand_gimple_stmt_1
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:3942
0xa9a75a expand_gimple_stmt
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:4040
0xaa1070 expand_gimple_basic_block
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:6082
0xaa2fb7 execute
        /home/marxin/Programming/gcc/gcc/cfgexpand.c:6808
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Is it really a valid test-case? Happens since r10-5597-g549188ea10757060.


More information about the Gcc-bugs mailing list