+2004-12-03 Janis Johnson <janis187@us.ibm.com>
+
+ * doc/extend.texi (AltiVec Builtins): Fix info about signedness.
+
2004-12-03 Andreas Tobler <a.tobler@schweiz.ch>
* config/rs6000/rs6000.c (rs6000_override_options): Protect
same type as the variable it is initializing.
@item
-If @code{signed} or @code{unsigned} is omitted, the vector type defaults
-to @code{signed} for @code{vector int} or @code{vector short} and to
-@code{unsigned} for @code{vector char}.
+If @code{signed} or @code{unsigned} is omitted, the signedness of the
+vector type is the default signedness of the base type. The default
+varies depending on the operating system, so a portable program should
+always specify the signedness.
@item
Compiling with @option{-maltivec} adds keywords @code{__vector},
+2004-12-03 Janis Johnson <janis187@us.ibm.com>
+
+ * gcc.dg/altivec-18.c: Fix for darwin
+
2004-12-03 Nathan Sidwell <nathan@codesourcery.com>
PR c++/18782
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-xfail-if "" { "powerpc-ibm-aix*" } { "-maltivec" } { "" } } */
/* { dg-options "-maltivec -mabi=altivec" } */
-/* { dg-final { scan-assembler "vcmpgtub" } } */
+/* { dg-final { scan-assembler "vcmpgtub" { target *-*-linux* } } } */
+/* { dg-final { scan-assembler "vcmpgtsb" { target *-*-darwin* } } } */
/* { dg-final { scan-assembler "vcmpgtsh" } } */
/* { dg-final { scan-assembler "vcmpgtsw" } } */
/* Verify a statement in the GCC Manual that vector type specifiers can
- omit "signed" or "unsigned", with the default being "signed" for int
- and short, and "unsigned" for char. */
+ omit "signed" or "unsigned". The default is the default signedness
+ of the base type, which differs depending on the ABI. */
#include <altivec.h>