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

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
For completeness, the code:

gimple_copy (gimple *stmt)
...
  if (gimple_has_substatements (stmt))
    {
...
        case GIMPLE_OMP_INTEROP:
          t = unshare_expr (gimple_omp_interop_clauses (stmt));
          gimple_omp_interop_set_clauses (copy, t);
          break;


is unreachable - as gimple_has_substatements() is false for GIMPLE_OMP_INTEROP
– which kind of makes sense as it doesn't have any, but makes this code
unreachable.

Reply via email to