mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-22 17:40:45 +08:00
ggc-tests.c (test_finalization): Only test need_finalization_p for GCC_VERSION >= 4003.
* ggc-tests.c (test_finalization): Only test need_finalization_p for GCC_VERSION >= 4003. From-SVN: r237381
This commit is contained in:
parent
ad23a23ed2
commit
30717592e2
@ -1,3 +1,8 @@
|
||||
2016-06-13 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* ggc-tests.c (test_finalization): Only test need_finalization_p
|
||||
for GCC_VERSION >= 4003.
|
||||
|
||||
2016-06-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
||||
|
||||
* config/s390/vecintrin.h: Fix file description in comment.
|
||||
|
@ -190,8 +190,10 @@ int test_struct_with_dtor::dtor_call_count;
|
||||
static void
|
||||
test_finalization ()
|
||||
{
|
||||
#if GCC_VERSION >= 4003
|
||||
ASSERT_FALSE (need_finalization_p <test_struct> ());
|
||||
ASSERT_TRUE (need_finalization_p <test_struct_with_dtor> ());
|
||||
#endif
|
||||
|
||||
/* Create some garbage. */
|
||||
const int count = 10;
|
||||
|
Loading…
x
Reference in New Issue
Block a user