diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2024-08-19 09:40:33 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2024-08-19 09:40:33 +0100 |
commit | 71059d268f567b664e74101c8be7b58441f15d29 (patch) | |
tree | 2c27a1361ce2c838bd801c8368c172e5eaee4713 /gcc/digraph.h | |
parent | 661acde60ef4e9ac5a9e48be18770fb3a9aeb9a5 (diff) | |
download | gcc-71059d268f567b664e74101c8be7b58441f15d29.zip gcc-71059d268f567b664e74101c8be7b58441f15d29.tar.gz gcc-71059d268f567b664e74101c8be7b58441f15d29.tar.bz2 |
testsuite: Reduce cut-&-paste in scanltranstree.exp
scanltranstree.exp defines some LTO wrappers around standard
non-LTO scanners. Four of them are cut-&-paste variants of
one another, so this patch generates them from a single template.
It also does the same for scan-ltrans-tree-dump-times, so that
other *-times scanners can be added easily in future.
The scanners seem to be lightly used. gcc.dg/ipa/ipa-icf-38.c uses
scan-ltrans-tree-dump{,-not} and libgomp.c/declare-variant-1.c
uses scan-ltrans-tree-dump-{not,times}. Nothing currently seems
to use scan-ltrans-tree-dump-dem*.
gcc/testsuite/
* lib/scanltranstree.exp: Redefine the routines using two
templates.
Diffstat (limited to 'gcc/digraph.h')
0 files changed, 0 insertions, 0 deletions