[testsuite] Add scan-wpa-ipa-dump
authorTom de Vries <tom@codesourcery.com>
Wed, 2 May 2018 12:16:15 +0000 (12:16 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Wed, 2 May 2018 12:16:15 +0000 (12:16 +0000)
commit6c3c13c181a168ce3e5e95e6c0fa27ae3730b820
tree57e2748564ec4c427e2f42582c2ee983a24f7a94
parent559289370f76bfdb6a2ebfb4315c18206d73027a
[testsuite] Add scan-wpa-ipa-dump

2018-05-02  Tom de Vries  <tom@codesourcery.com>

PR testsuite/85106
* gcc.dg/ipa/ipa-icf-38.c: New test.
* gcc.dg/ipa/ipa-icf-38a.c: New test.
* lib/scandump.exp (dump-base): New proc.
(scan-dump, scan-dump-times, scan-dump-not, scan-dump-dem)
(scan-dump-dem-not): Add and handle parameter for suffix of the dump
base.
* lib/scanipa.exp: Add "" argument to scan-dump calls.
* lib/scanlang.exp: Same.
* lib/scanrtl.exp: Same.
* lib/scantree.exp: Same.
* lib/scanwpaipa.exp: New file.
* lib/gcc-dg.exp: Include scanwpaipa.exp.

* testsuite/lib/libatomic.exp: Include scanwpaipa.exp.

* testsuite/lib/libgomp.exp: Include scanwpaipa.exp.

* testsuite/lib/libitm.exp: Include scanwpaipa.exp.

* testsuite/lib/libvtv.exp: Include scanwpaipa.exp.

* doc/sourcebuild.texi (Commands for use in dg-final, Scan optimization
dump files): Add wpa-ipa.

From-SVN: r259837
20 files changed:
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/ipa/ipa-icf-38a.c [new file with mode: 0644]
gcc/testsuite/lib/gcc-dg.exp
gcc/testsuite/lib/scandump.exp
gcc/testsuite/lib/scanipa.exp
gcc/testsuite/lib/scanlang.exp
gcc/testsuite/lib/scanrtl.exp
gcc/testsuite/lib/scantree.exp
gcc/testsuite/lib/scanwpaipa.exp [new file with mode: 0644]
libatomic/ChangeLog
libatomic/testsuite/lib/libatomic.exp
libgomp/ChangeLog
libgomp/testsuite/lib/libgomp.exp
libitm/ChangeLog
libitm/testsuite/lib/libitm.exp
libvtv/ChangeLog
libvtv/testsuite/lib/libvtv.exp