From: Aldy Hernandez Date: Fri, 3 Sep 2021 09:57:27 +0000 (+0200) Subject: Add debug helper for jump thread paths. X-Git-Tag: basepoints/gcc-13~4977 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fa5ba4c56ef558bc740e56654622d70f4166e48;p=thirdparty%2Fgcc.git Add debug helper for jump thread paths. Tested on x86-64 Linux. gcc/ChangeLog: * tree-ssa-threadupdate.c (debug): New. --- diff --git a/gcc/tree-ssa-threadupdate.c b/gcc/tree-ssa-threadupdate.c index d08e7d30d8dc..1d32a0230fbd 100644 --- a/gcc/tree-ssa-threadupdate.c +++ b/gcc/tree-ssa-threadupdate.c @@ -239,6 +239,12 @@ debug (const vec &path) dump_jump_thread_path (stderr, path, true); } +DEBUG_FUNCTION void +debug (const vec *path) +{ + debug (*path); +} + /* Simple hashing function. For any given incoming edge E, we're going to be most concerned with the final destination of its jump thread path. So hash on the block index of the final edge in the path. */