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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |openmp
            Summary|ICE in                      |ICE in scan_omp_1_op, at
                   |copy_reference_ops_from_ref |omp-low.c:3485
                   |, at tree-ssa-sccvn.c:964   |

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
It actually ICEs in scan_omp_1_op, at omp-low.c:3485 when you have checking
enabled.

3480        case LABEL_DECL:
3481        case RESULT_DECL:
3482          if (ctx)
3483            {
3484              tree repl = remap_decl (t, &ctx->cb);
3485              gcc_checking_assert (TREE_CODE (repl) != ERROR_MARK);
3486              *tp = repl;

#0  fancy_abort (file=0x266ecb8 "/space/rguenther/src/gcc/gcc/omp-low.c", 
    line=3485, 
    function=0x26726b0 <scan_omp_1_op(tree_node**, int*, void*)::__FUNCTION__>
"scan_omp_1_op") at /space/rguenther/src/gcc/gcc/diagnostic.c:1758
#1  0x000000000117e359 in scan_omp_1_op (tp=0x2aaaac276a40, 
    walk_subtrees=0x7fffffffd1cc, data=0x7fffffffd480)
    at /space/rguenther/src/gcc/gcc/omp-low.c:3485
...
#16 0x000000000117f024 in scan_omp (body_p=0x7fffffffd8c8, ctx=0x0)
    at /space/rguenther/src/gcc/gcc/omp-low.c:3834
#17 0x00000000011ae5fd in execute_lower_omp ()
    at /space/rguenther/src/gcc/gcc/omp-low.c:13027
#18 0x00000000011ae877 in (anonymous namespace)::pass_lower_omp::execute (
    this=0x361a350) at /space/rguenther/src/gcc/gcc/omp-low.c:13085

Reply via email to