From 92784908c1f27d3fc344be275a63ec443d07924e Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Thu, 15 Mar 2001 15:55:32 -0500 Subject: [PATCH] memcheck.exp: Don't try to run these tests on AIX. 2001-03-15 Geoff Keating * gcc.c-torture/execute/memcheck/memcheck.exp: Don't try to run these tests on AIX. From-SVN: r40515 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.c-torture/execute/memcheck/memcheck.exp | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 12bb57f93dd..a10ee5bda10 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-03-15 Geoff Keating + + * gcc.c-torture/execute/memcheck/memcheck.exp: Don't try to run these + tests on AIX. + 2001-03-15 Gabriel Dos Reis * g++.old-deja/g++.other/eh4.C: New test. diff --git a/gcc/testsuite/gcc.c-torture/execute/memcheck/memcheck.exp b/gcc/testsuite/gcc.c-torture/execute/memcheck/memcheck.exp index 0d36253ffe8..690b9024ef8 100644 --- a/gcc/testsuite/gcc.c-torture/execute/memcheck/memcheck.exp +++ b/gcc/testsuite/gcc.c-torture/execute/memcheck/memcheck.exp @@ -41,6 +41,14 @@ if $idx>=0 { error "list can't find driver.c in $srcdir/$subdir" } +# These don't work on AIX. The constructors get run by a program built +# with -fcheck-memory-usage, which confuses the driver so much that +# they don't even link. +if { [istarget "powerpc-*-aix*"] + || [istarget "rs6000-*-aix*"] } { + set tests "" +} + # Compiling driver.c on a remote host requires our ability to also # find its driver.h header. if [is_remote host] {