[gcc r12-3761] path solver: Remove useless code.
Aldy Hernandez
aldyh@gcc.gnu.org
Tue Sep 21 16:56:38 GMT 2021
https://gcc.gnu.org/g:062c8727df2d9972b73f10445a7585e0129bd63e
commit r12-3761-g062c8727df2d9972b73f10445a7585e0129bd63e
Author: Aldy Hernandez <aldyh@redhat.com>
Date: Tue Sep 21 09:17:57 2021 +0200
path solver: Remove useless code.
gcc/ChangeLog:
* gimple-range-path.cc (path_range_query::range_defined_in_block):
Remove useless code.
Diff:
---
gcc/gimple-range-path.cc | 4 ----
1 file changed, 4 deletions(-)
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;
}
More information about the Gcc-cvs
mailing list