[5/7] path solver: Remove useless code.

Message ID 20210921165350.414593-6-aldyh@redhat.com
State Committed
Commit 062c8727df2d9972b73f10445a7585e0129bd63e
Headers
Series Add ability to resolve unknowns to path solver. |

Commit Message

Aldy Hernandez Sept. 21, 2021, 4:53 p.m. UTC
  Committed.

gcc/ChangeLog:

	* gimple-range-path.cc (path_range_query::range_defined_in_block):
	Remove useless code.
---
 gcc/gimple-range-path.cc | 4 ----
 1 file changed, 4 deletions(-)
  

Patch

diff --git a/gcc/gimple-range-path.cc b/gcc/gimple-range-path.cc
index b3040c9bc00..b86a76fa74b 100644
--- a/gcc/gimple-range-path.cc
+++ b/gcc/gimple-range-path.cc
@@ -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;
 }