From: Alex Coplan Date: Thu, 29 Aug 2024 10:31:40 +0000 (+0100) Subject: testsuite: Fix up refactored scanltranstree.exp functions [PR116522] X-Git-Tag: basepoints/gcc-16~6270 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b729d2ff3259e5b1d40f93d4f9e7edf5f0064f4;p=thirdparty%2Fgcc.git testsuite: Fix up refactored scanltranstree.exp functions [PR116522] When adding RTL variants of the scan-ltrans-tree* functions in: r15-3254-g3f51f0dc88ec21c1ec79df694200f10ef85915f4 I messed up the name of the underlying scan function to invoke. The code currently attempts to invoke functions named scan{,-not,-dem,-dem-not} but should instead be invoking scan-dump{,-not,-dem,-dem-not}. This patch fixes that. gcc/testsuite/ChangeLog: PR testsuite/116522 * lib/scanltranstree.exp: Fix name of underlying scan function used for scan-ltrans-{tree,rtl}-dump{,-not,-dem,-dem-not}. --- diff --git a/gcc/testsuite/lib/scanltranstree.exp b/gcc/testsuite/lib/scanltranstree.exp index a7d4de3765f..3d85813ea2f 100644 --- a/gcc/testsuite/lib/scanltranstree.exp +++ b/gcc/testsuite/lib/scanltranstree.exp @@ -24,7 +24,7 @@ load_lib scandump.exp foreach ir { tree rtl } { foreach modifier { {} -not -dem -dem-not } { eval [string map [list @NAME@ scan-ltrans-$ir-dump$modifier \ - @SCAN@ scan$modifier \ + @SCAN@ scan-dump$modifier \ @TYPE@ ltrans-$ir \ @SUFFIX@ [string index $ir 0]] { proc @NAME@ { args } {