public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-3761] path solver: Remove useless code.
@ 2021-09-21 16:56 Aldy Hernandez
0 siblings, 0 replies; only message in thread
From: Aldy Hernandez @ 2021-09-21 16:56 UTC (permalink / raw)
To: gcc-cvs
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-21 16:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-21 16:56 [gcc r12-3761] path solver: Remove useless code Aldy Hernandez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).