2004-02-27 Eric Christopher <echristo@redhat.com>
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Feb 2004 00:28:55 +0000 (00:28 +0000)
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 28 Feb 2004 00:28:55 +0000 (00:28 +0000)
* g++.dg/charset/charset.exp: Change CFLAGS to CHARSETCFLAGS.
* g++.dg/charset/asm2.c: Run only x86.
* gcc.dg/charset/asm3.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78596 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/charset/asm2.c
gcc/testsuite/g++.dg/charset/charset.exp
gcc/testsuite/gcc.dg/charset/asm3.c

index b1ef10f..980fc9f 100644 (file)
@@ -1,3 +1,9 @@
+2004-02-27  Eric Christopher  <echristo@redhat.com>
+
+       * g++.dg/charset/charset.exp: Change CFLAGS to CHARSETCFLAGS.
+       * g++.dg/charset/asm2.c: Run only x86.
+       * gcc.dg/charset/asm3.c: Ditto.
+
 2004-02-27  Aldy Hernandez  <aldyh@redhat.com>
 
        * lib/g++.exp (g++_link_flags): Append LD_LIBRARY_PATH to
index 7cc1379..8d8dbbb 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for complex asm statements. Make sure it compiles
    then test for some of the asm statements not being translated.  */
-/* { dg-do compile }
+/* { dg-do compile { target i?86-*-* } }
    { dg-require-iconv "IBM-1047" }
    { dg-final { scan-assembler "std" } }
    { dg-final { scan-assembler "cld" } }
index 096dc3e..dc11c3f 100644 (file)
@@ -28,9 +28,9 @@ load_lib g++-dg.exp
 load_lib target-supports.exp
 
 # If a testcase doesn't have special options, use these.
-global DEFAULT_CFLAGS
-if ![info exists DEFAULT_CFLAGS] then {
-    set DEFAULT_CFLAGS "-fexec-charset=IBM-1047"
+global DEFAULT_CHARSETCFLAGS
+if ![info exists DEFAULT_CHARSETCFLAGS] then {
+    set DEFAULT_CHARSETCFLAGS "-fexec-charset=IBM-1047"
 }
 
 # Initialize `dg'.
@@ -38,7 +38,7 @@ dg-init
 
 # Main loop.
 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{c,S} ]] \
-        "" $DEFAULT_CFLAGS
+        "" $DEFAULT_CHARSETCFLAGS
 
 # All done.
 dg-finish
index 7cc1379..8d8dbbb 100644 (file)
@@ -1,6 +1,6 @@
 /* Test for complex asm statements. Make sure it compiles
    then test for some of the asm statements not being translated.  */
-/* { dg-do compile }
+/* { dg-do compile { target i?86-*-* } }
    { dg-require-iconv "IBM-1047" }
    { dg-final { scan-assembler "std" } }
    { dg-final { scan-assembler "cld" } }