This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping: [PATCH] Finish fixing PR16286


Andreas Schwab <schwab@suse.de> writes:

> Janis Johnson <janis187@us.ibm.com> writes:
>
>> On Mon, Nov 01, 2004 at 02:28:41PM +0100, Andreas Schwab wrote:
>>> http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00848.html
>>
>> Ben submitted a patch (well, a description of the patch) in August and Aldy
>> approved it in http://gcc.gnu.org/ml/gcc-patches/2004-08/msg01439.html, but
>> Ben didn't check it in.
>
> Since Ben refuses to comment and the patch was already approved anyway,
> I've checked in my version now.

I accidentally checked in the wrong version of the test case (I actually
tested it on a different tree).  Fixed thusly.

Andreas.

2004-11-12  Andreas Schwab  <schwab@suse.de>

	* gcc.dg/pr16286.c: Fix last change.

Index: gcc/testsuite/gcc.dg/pr16286.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/pr16286.c,v
retrieving revision 1.2
diff -u -p -a -u -p -a -r1.2 gcc/testsuite/gcc.dg/pr16286.c
--- gcc/testsuite/gcc.dg/pr16286.c	6 Nov 2004 20:18:19 -0000	1.2
+++ gcc/testsuite/gcc.dg/pr16286.c	12 Nov 2004 17:04:26 -0000
@@ -2,10 +2,9 @@
 /* { dg-options "-maltivec" } */
 
 /* PR 16286
- * Compilation of a simple Altivec test program fails if vector is #undefined
- * when compiling with -maltivec.  This may be done for building C++ programs
- * that use the STL <vector>.
- */
+   Compilation of a simple Altivec test program fails if vector, pixel
+   and/or bool are #undefined when compiling with -maltivec.  This may be
+   done for building C++ programs that use the STL <vector>.  */
 
 #include <altivec.h>
 #undef vector
@@ -20,5 +19,5 @@ void test(void)
 }
 
 /* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
-/* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
-/* { dg-bogus "(syntax|parse) error before \"vector\"" "-maltivec" { target powerpc*-*-* } 0 } */
+/* { dg-bogus "(syntax|parse) error before \"pixel\"" "-maltivec" { target powerpc*-*-* } 0 } */
+/* { dg-bogus "(syntax|parse) error before \"bool\"" "-maltivec" { target powerpc*-*-* } 0 } */

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]