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]

Patch installed for gcc.dg typos in 20020430-1.c and 20020503-1.c


I noticed these typos while poking around for something else.

(A missing */ close comment, and "do"-options instead of "dg"-options.)

Tested on sparc-solaris2.7 via "make check" and installed as obvious
on 3.2, 3.3 and trunk.



2003-02-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* gcc.dg/20020430-1.c: Fix dg command typos.
	* gcc.dg/20020503-1.c: Likewise.
	
diff -rup orig/egcc-CVS20030205/gcc/testsuite/gcc.dg/20020430-1.c egcc-CVS20030205/gcc/testsuite/gcc.dg/20020430-1.c
--- orig/egcc-CVS20030205/gcc/testsuite/gcc.dg/20020430-1.c	Tue Apr 30 19:13:36 2002
+++ egcc-CVS20030205/gcc/testsuite/gcc.dg/20020430-1.c	Thu Feb  6 22:45:26 2003
@@ -4,8 +4,8 @@
    until the last moment.  After which we did not delete dead code, 
    which left a reference to the deleted ADDR_VEC.  */
 
-/* { dg-do compile }
-/* { do-options "-O2 -frename-registers -fpic" } */
+/* { dg-do compile } */
+/* { dg-options "-O2 -frename-registers -fpic" } */
 
 typedef unsigned long XID;
 typedef XID Window;
diff -rup orig/egcc-CVS20030205/gcc/testsuite/gcc.dg/20020503-1.c egcc-CVS20030205/gcc/testsuite/gcc.dg/20020503-1.c
--- orig/egcc-CVS20030205/gcc/testsuite/gcc.dg/20020503-1.c	Fri May  3 10:20:04 2002
+++ egcc-CVS20030205/gcc/testsuite/gcc.dg/20020503-1.c	Thu Feb  6 22:45:14 2003
@@ -4,8 +4,8 @@
    for leaf functions, the function was still leaf, but LEAF_REG_REMAP
    returned -1 for some registers (like %o0).  */
 /* { dg-do compile } */
-/* { do-options "-O2 -g" } */
-/* { do-options "-O2 -g -mflat" { target sparc*-*-* } } */
+/* { dg-options "-O2 -g" } */
+/* { dg-options "-O2 -g -mflat" { target sparc*-*-* } } */
 
 void foo (char *a, char *b, char *c, char *d)
 {


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