OSDN Git Service

Fix copy/paste error.
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jul 2004 15:23:55 +0000 (15:23 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Jul 2004 15:23:55 +0000 (15:23 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83986 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.old-deja/g++.abi/arraynew.C

index 273d137..c340881 100644 (file)
@@ -55,7 +55,7 @@ void check_cookie (int i)
     exit (i);
 
 #ifdef __ARM_EABI__
-  size_t *sp = ((size_t *) a) - 2;
+  sp = ((size_t *) a) - 2;
   if (*sp != sizeof (T))
     exit (i);
 #endif
@@ -85,7 +85,7 @@ void check_placement_cookie (int i)
     exit (i);
 
 #ifdef __ARM_EABI__
-  size_t *sp = ((size_t *) a) - 2;
+  sp = ((size_t *) a) - 2;
   if (*sp != sizeof (T))
     exit (i);
 #endif