memcheck.exp: Don't try to run these tests on AIX.
authorGeoffrey Keating <geoffk@redhat.com>
Thu, 15 Mar 2001 20:55:32 +0000 (15:55 -0500)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 15 Mar 2001 20:55:32 +0000 (15:55 -0500)
2001-03-15  Geoff Keating  <geoff@redhat.com>

* gcc.c-torture/execute/memcheck/memcheck.exp: Don't try to run these
tests on AIX.

From-SVN: r40515

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/memcheck/memcheck.exp

index 12bb57f93dd5965ad8f4e4c0a74f232ae432348b..a10ee5bda10ca3b0cf64038332d20e7c1a8f2545 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-15  Geoff Keating  <geoff@redhat.com>
+
+       * gcc.c-torture/execute/memcheck/memcheck.exp: Don't try to run these
+       tests on AIX.
+
 2001-03-15  Gabriel Dos Reis  <gdr@codesourcery.com>
 
        * g++.old-deja/g++.other/eh4.C: New test.
index 0d36253ffe84da9b061ff296ad15d5111506b18d..690b9024ef872852a50f2f7b2e492cafc3aa39b9 100644 (file)
@@ -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] {