path solver: Remove useless code.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 21 Sep 2021 07:17:57 +0000 (09:17 +0200)
committerAldy Hernandez <aldyh@redhat.com>
Tue, 21 Sep 2021 16:55:14 +0000 (18:55 +0200)
gcc/ChangeLog:

* gimple-range-path.cc (path_range_query::range_defined_in_block):
Remove useless code.

gcc/gimple-range-path.cc

index b3040c9..b86a76f 100644 (file)
@@ -246,10 +246,6 @@ path_range_query::range_defined_in_block (irange &r, tree name, basic_block bb)
       fprintf (dump_file, "\n");
     }
 
-  // We may have an artificial statement not in the IL.
-  if (!bb && r.varying_p ())
-    return false;
-
   return true;
 }