Change TARGET_ALTIVEC to TARGET_ALTIVEC_ABI.
authorDavid Edelsohn <edelsohn@gnu.org>
Fri, 17 Oct 2003 01:56:59 +0000 (01:56 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 17 Oct 2003 01:56:59 +0000 (21:56 -0400)
From-SVN: r72589

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 836c8f5c86ad14c6d9e9609569d316b08dcc5630..37050c108fe0f7fefdf1930cb826d78d1993ea92 100644 (file)
@@ -23,7 +23,7 @@
 2003-10-15  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/rs6000.c (rs6000_va_arg): Only align vector
-       arguments if TARGET_ALTIVEC.
+       arguments if TARGET_ALTIVEC_ABI.
 
 2003-10-15  Roger Sayle  <roger@eyesopen.com>
 
index 46353625bf099155e4748dd32983eae8e87b93c3..19f1b283259986142adf87b01563eb1f1a134086 100644 (file)
@@ -4371,7 +4371,7 @@ rs6000_va_arg (tree valist, tree type)
       else
        {
          /* Altivec arguments must be aligned to a 128-bit boundary.  */
-         if (TARGET_ALTIVEC && ALTIVEC_VECTOR_MODE (TYPE_MODE (type)))
+         if (TARGET_ALTIVEC_ABI && ALTIVEC_VECTOR_MODE (TYPE_MODE (type)))
            {
              tree vtype = TREE_TYPE (valist);
              tree new_valist, modify;