diff options
author | Martin Liska <mliska@suse.cz> | 2017-12-19 14:21:07 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-12-19 13:21:07 +0000 |
commit | 02db1ea393065ef3b6f9a5d737abd8fbc1ad72ea (patch) | |
tree | b0b002d7ad25caa37fed523df21d593ae1401008 | |
parent | f389e7983bc89fb3d6041d676de7e313892d5ede (diff) | |
download | gcc-02db1ea393065ef3b6f9a5d737abd8fbc1ad72ea.zip gcc-02db1ea393065ef3b6f9a5d737abd8fbc1ad72ea.tar.gz gcc-02db1ea393065ef3b6f9a5d737abd8fbc1ad72ea.tar.bz2 |
Fix another failing test-case.
2017-12-19 Martin Liska <mliska@suse.cz>
* gcc.dg/tree-prof/switch-case-1.c: Scan IPA profile dump
file instead of expand in order to not mix it with expanded
tree decision tree for the switch statement.
From-SVN: r255819
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/tree-prof/switch-case-1.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5c61361..5dea098 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-12-19 Martin Liska <mliska@suse.cz> + + * gcc.dg/tree-prof/switch-case-1.c: Scan IPA profile dump + file instead of expand in order to not mix it with expanded + tree decision tree for the switch statement. + 2017-12-19 Marek Polacek <polacek@redhat.com> PR tree-optimization/83482 diff --git a/gcc/testsuite/gcc.dg/tree-prof/switch-case-1.c b/gcc/testsuite/gcc.dg/tree-prof/switch-case-1.c index 6a9af08..a5a430a 100644 --- a/gcc/testsuite/gcc.dg/tree-prof/switch-case-1.c +++ b/gcc/testsuite/gcc.dg/tree-prof/switch-case-1.c @@ -1,4 +1,4 @@ -/* { dg-options "-O2 -fdump-rtl-expand-all" } */ +/* { dg-options "-O2 -fdump-ipa-profile-all" } */ int g; __attribute__((noinline)) void foo (int n) @@ -36,5 +36,5 @@ int main () return 0; } /* autofdo cannot do that precise execution numbers */ -/* { dg-final-use-not-autofdo { scan-rtl-dump-times ";; basic block\[^\\n\]*count 4000" 2 "expand"} } */ -/* { dg-final-use-not-autofdo { scan-rtl-dump-times ";; basic block\[^\\n\]*count 2000" 1 "expand"} } */ +/* { dg-final-use-not-autofdo { scan-ipa-dump-times ";; basic block\[^\\n\]*count 4000" 2 "profile"} } */ +/* { dg-final-use-not-autofdo { scan-ipa-dump-times ";; basic block\[^\\n\]*count 2000" 1 "profile"} } */ |