[Bug testsuite/85106] Add scan-ltrans-tree-dump and scan-wpa-ipa-dump

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 2 12:16:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85106

--- Comment #10 from Tom de Vries <vries at gcc dot gnu.org> ---
Author: vries
Date: Wed May  2 12:16:15 2018
New Revision: 259837

URL: https://gcc.gnu.org/viewcvs?rev=259837&root=gcc&view=rev
Log:
[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.

Added:
    trunk/gcc/testsuite/gcc.dg/ipa/ipa-icf-38.c
    trunk/gcc/testsuite/gcc.dg/ipa/ipa-icf-38a.c
    trunk/gcc/testsuite/lib/scanwpaipa.exp
      - copied, changed from r259833, trunk/gcc/testsuite/lib/scanipa.exp
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/sourcebuild.texi
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/lib/gcc-dg.exp
    trunk/gcc/testsuite/lib/scandump.exp
    trunk/gcc/testsuite/lib/scanipa.exp
    trunk/gcc/testsuite/lib/scanlang.exp
    trunk/gcc/testsuite/lib/scanrtl.exp
    trunk/gcc/testsuite/lib/scantree.exp
    trunk/libatomic/ChangeLog
    trunk/libatomic/testsuite/lib/libatomic.exp
    trunk/libgomp/ChangeLog
    trunk/libgomp/testsuite/lib/libgomp.exp
    trunk/libitm/ChangeLog
    trunk/libitm/testsuite/lib/libitm.exp
    trunk/libvtv/ChangeLog
    trunk/libvtv/testsuite/lib/libvtv.exp


More information about the Gcc-bugs mailing list