]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/tree-ssa-reassoc.c
re PR tree-optimization/71994 (ICE: verify_gimple failed)
[thirdparty/gcc.git] / gcc / tree-ssa-reassoc.c
index 7c7136e710f77efa148c823f3ff2a0f7916157b7..7fd7550ab331df8a59af4098aead7527dbf4c77b 100644 (file)
@@ -3514,10 +3514,10 @@ maybe_optimize_range_tests (gimple *stmt)
             push into ops the individual range test arguments
             of the bitwise or resp. and, recursively.  */
          if (TREE_CODE (rhs) == SSA_NAME
-             && !get_ops (rhs, code, &ops,
-                       loop_containing_stmt (stmt))
              && (TREE_CODE_CLASS (gimple_assign_rhs_code (stmt))
                  != tcc_comparison)
+             && !get_ops (rhs, code, &ops,
+                       loop_containing_stmt (stmt))
              && has_single_use (rhs))
            {
              /* Otherwise, push the _234 range test itself.  */