From: Aldy Hernandez Date: Tue, 5 Feb 2002 23:19:13 +0000 (+0000) Subject: altivec.h: Change elem to _S_elem. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef238c58cf79aa209db445ea824ee60e189649a7;p=gcc.git altivec.h: Change elem to _S_elem. 2002-02-06 Aldy Hernandez * config/rs6000/altivec.h: Change elem to _S_elem. From-SVN: r49532 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d2c26057f02..fb835062bd5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-02-06 Aldy Hernandez + + * config/rs6000/altivec.h: Change elem to _S_elem. + 2002-02-05 Jason Thorpe * config/netbsd.h (WCHAR_TYPE): Define. diff --git a/gcc/config/rs6000/altivec.h b/gcc/config/rs6000/altivec.h index 51749c26ea1..a0ba92f68a4 100644 --- a/gcc/config/rs6000/altivec.h +++ b/gcc/config/rs6000/altivec.h @@ -4059,52 +4059,52 @@ vec_any_out (vector float a1, vector float a2) template struct __vec_step_help { - // All proper vector types will specialize elem. + // All proper vector types will specialize _S_elem. }; template<> struct __vec_step_help { - static const int elem = 8; + static const int _S_elem = 8; }; template<> struct __vec_step_help { - static const int elem = 8; + static const int _S_elem = 8; }; template<> struct __vec_step_help { - static const int elem = 4; + static const int _S_elem = 4; }; template<> struct __vec_step_help { - static const int elem = 4; + static const int _S_elem = 4; }; template<> struct __vec_step_help { - static const int elem = 16; + static const int _S_elem = 16; }; template<> struct __vec_step_help { - static const int elem = 16; + static const int _S_elem = 16; }; template<> struct __vec_step_help { - static const int elem = 4; + static const int _S_elem = 4; }; -#define vec_step(t) __vec_step_help::elem +#define vec_step(t) __vec_step_help::_S_elem #else /* not C++ */