mirror of git://gcc.gnu.org/git/gcc.git
Fix scan pattern of a test-case.
2018-12-31 Martin Liska <mliska@suse.cz> * g++.dg/tree-prof/devirt.C: Fix scan pattern and test options. From-SVN: r267486
This commit is contained in:
parent
b3282dfe1a
commit
4d73e47bf8
|
|
@ -1,3 +1,7 @@
|
||||||
|
2018-12-31 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
* g++.dg/tree-prof/devirt.C: Fix scan pattern and test options.
|
||||||
|
|
||||||
2018-12-31 Martin Liska <mliska@suse.cz>
|
2018-12-31 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
* g++.dg/predict-2.C: New test.
|
* g++.dg/predict-2.C: New test.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* { dg-options "-O3 -fdump-tree-dom3" } */
|
/* { dg-options "-O3 -fdump-tree-dom3-details" } */
|
||||||
struct nsISupports
|
struct nsISupports
|
||||||
{
|
{
|
||||||
virtual int QueryInterface (const int &aIID, void **aInstancePtr) = 0;
|
virtual int QueryInterface (const int &aIID, void **aInstancePtr) = 0;
|
||||||
|
|
@ -119,5 +119,5 @@ main ()
|
||||||
__builtin_abort ();
|
__builtin_abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* { dg-final-use-not-autofdo { scan-ipa-dump-times 3 "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" "dom3" } } */
|
/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::_ZThn16" 3 "dom3" } } */
|
||||||
/* { dg-final-use-not-autofdo { scan-ipa-dump-times 3 "folding virtual function call to virtual unsigned int mozPersonalDictionary::AddRef" "dom3" } } */
|
/* { dg-final-use-not-autofdo { scan-tree-dump-times "folding virtual function call to virtual unsigned int mozPersonalDictionary::AddRef" 3 "dom3" } } */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue