public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/pheeck/heads/sccp)] unstuck: used as_a <gphi *>
@ 2022-07-11 9:17 Filip Kastl
0 siblings, 0 replies; 2+ messages in thread
From: Filip Kastl @ 2022-07-11 9:17 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d27a4a2e310515fdfea6a51d80537a1a77f8b497
commit d27a4a2e310515fdfea6a51d80537a1a77f8b497
Author: Filip Kastl <filip.kastl@gmail.com>
Date: Mon Jul 11 11:17:13 2022 +0200
unstuck: used as_a <gphi *>
Diff:
---
gcc/sccp.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/sccp.cc b/gcc/sccp.cc
index 752ecdbc649..23a7a38d941 100644
--- a/gcc/sccp.cc
+++ b/gcc/sccp.cc
@@ -134,8 +134,8 @@ tarjan_strongconnect (gphi *phi)
unsigned op_vnum = SSA_NAME_VERSION (op);
if (!vertices[op_vnum].visited)
{
- // TODO Will the next line work? Implicit gimple* -> gphi*
- tarjan_strongconnect (stmt);
+ // TODO Will the next line work?
+ tarjan_strongconnect (as_a <gphi *> (stmt));
tarjan_update_lowlink (vnum, vertices[op_vnum].lowlink);
}
else if (vertices[op_vnum].is_on_stack)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gcc(refs/users/pheeck/heads/sccp)] unstuck: used as_a <gphi *>
@ 2023-02-15 10:13 Filip Kastl
0 siblings, 0 replies; 2+ messages in thread
From: Filip Kastl @ 2023-02-15 10:13 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f13140ffa4283982e74a9cfb2befefa7d0bd6b6c
commit f13140ffa4283982e74a9cfb2befefa7d0bd6b6c
Author: Filip Kastl <filip.kastl@gmail.com>
Date: Mon Jul 11 11:17:13 2022 +0200
unstuck: used as_a <gphi *>
Diff:
---
gcc/sccp.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/sccp.cc b/gcc/sccp.cc
index 752ecdbc649..23a7a38d941 100644
--- a/gcc/sccp.cc
+++ b/gcc/sccp.cc
@@ -134,8 +134,8 @@ tarjan_strongconnect (gphi *phi)
unsigned op_vnum = SSA_NAME_VERSION (op);
if (!vertices[op_vnum].visited)
{
- // TODO Will the next line work? Implicit gimple* -> gphi*
- tarjan_strongconnect (stmt);
+ // TODO Will the next line work?
+ tarjan_strongconnect (as_a <gphi *> (stmt));
tarjan_update_lowlink (vnum, vertices[op_vnum].lowlink);
}
else if (vertices[op_vnum].is_on_stack)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-15 10:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-11 9:17 [gcc(refs/users/pheeck/heads/sccp)] unstuck: used as_a <gphi *> Filip Kastl
2023-02-15 10:13 Filip Kastl
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).