altivec.h: Change elem to _S_elem.
authorAldy Hernandez <aldyh@redhat.com>
Tue, 5 Feb 2002 23:19:13 +0000 (23:19 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Tue, 5 Feb 2002 23:19:13 +0000 (23:19 +0000)
2002-02-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h: Change elem to _S_elem.

From-SVN: r49532

gcc/ChangeLog
gcc/config/rs6000/altivec.h

index d2c26057f02edaeff9a8928e09b97b477bde9639..fb835062bd512981cc151c818f10c0ed0a6dc7fe 100644 (file)
@@ -1,3 +1,7 @@
+2002-02-06  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/rs6000/altivec.h: Change elem to _S_elem.
+
 2002-02-05  Jason Thorpe  <thorpej@wasabisystems.com>
 
        * config/netbsd.h (WCHAR_TYPE): Define.
index 51749c26ea1dc462747030871247c7bcdc3b632c..a0ba92f68a4db4be6925397daf818c0c5991fd19 100644 (file)
@@ -4059,52 +4059,52 @@ vec_any_out (vector float a1, vector float a2)
 template<typename _Tp>
 struct __vec_step_help
 {
-  // All proper vector types will specialize elem.
+  // All proper vector types will specialize _S_elem.
 };
 
 template<>
 struct __vec_step_help<vector signed short>
 {
-  static const int elem = 8;
+  static const int _S_elem = 8;
 };
 
 template<>
 struct __vec_step_help<vector unsigned short>
 {
-  static const int elem = 8;
+  static const int _S_elem = 8;
 };
 
 template<>
 struct __vec_step_help<vector signed int>
 {
-  static const int elem = 4;
+  static const int _S_elem = 4;
 };
 
 template<>
 struct __vec_step_help<vector unsigned int>
 {
-  static const int elem = 4;
+  static const int _S_elem = 4;
 };
 
 template<>
 struct __vec_step_help<vector unsigned char>
 {
-  static const int elem = 16;
+  static const int _S_elem = 16;
 };
 
 template<>
 struct __vec_step_help<vector signed char>
 {
-  static const int elem = 16;
+  static const int _S_elem = 16;
 };
 
 template<>
 struct __vec_step_help<vector float>
 {
-  static const int elem = 4;
+  static const int _S_elem = 4;
 };
 
-#define vec_step(t)  __vec_step_help<t>::elem
+#define vec_step(t)  __vec_step_help<t>::_S_elem
 
 #else /* not C++ */