diff options
author | Markus Trippelsdorf <trippels@gcc.gnu.org> | 2015-01-12 07:53:10 +0000 |
---|---|---|
committer | Markus Trippelsdorf <trippels@gcc.gnu.org> | 2015-01-12 07:53:10 +0000 |
commit | bc5a0a9c3b373edb101c057d90c34e071393ca11 (patch) | |
tree | 379ae6eb5713950813717f8cc74352f0ee4031ac /gcc | |
parent | 844c944b8c6c1d7140f210d43d59883da3c08e38 (diff) | |
download | gcc-bc5a0a9c3b373edb101c057d90c34e071393ca11.zip gcc-bc5a0a9c3b373edb101c057d90c34e071393ca11.tar.gz gcc-bc5a0a9c3b373edb101c057d90c34e071393ca11.tar.bz2 |
Revert "ipa/63470 add testcase"
This reverts commit 8b200261cca87bab4408813e5fe2ebebb8c19e8b.
From-SVN: r219446
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/ipa/pr63470.C | 54 |
2 files changed, 0 insertions, 59 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d673e12..b3b6b59 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,8 +1,3 @@ -2015-01-11 Markus Trippelsdorf <markus@trippelsdorf.de> - - PR ipa/63470 - * ipa/pr63470.C: New testcase. - 2015-01-11 Janus Weil <janus@gcc.gnu.org> PR fortran/63733 diff --git a/gcc/testsuite/g++.dg/ipa/pr63470.C b/gcc/testsuite/g++.dg/ipa/pr63470.C deleted file mode 100644 index e6fa73b..0000000 --- a/gcc/testsuite/g++.dg/ipa/pr63470.C +++ /dev/null @@ -1,54 +0,0 @@ -/* PR ipa/63470.C */ -/* { dg-do compile } */ -/* { dg-options "-O2 -finline-functions" } */ - -class A -{ -public: - virtual bool m_fn1 (); - virtual const char **m_fn2 (int); - virtual int m_fn3 (); -}; -class FTjackSupport : A -{ - ~FTjackSupport (); - bool m_fn1 (); - bool m_fn4 (); - const char ** - m_fn2 (int) - { - } - int _inited; - int *_jackClient; - int _activePathCount; -} - -* a; -void fn1 (...); -void fn2 (void *); -int fn3 (int *); -FTjackSupport::~FTjackSupport () { m_fn4 (); } - -bool -FTjackSupport::m_fn1 () -{ - if (!_jackClient) - return 0; - for (int i=0; _activePathCount; ++i) - if (m_fn2 (i)) - fn2 (a); - if (m_fn3 ()) - fn2 (a); - if (fn3 (_jackClient)) - fn1 (0); -} - -bool -FTjackSupport::m_fn4 () -{ - if (_inited && _jackClient) - { - m_fn1 (); - return 0; - } -} |