* 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
+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
/* 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" } }
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'.
# Main loop.
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{c,S} ]] \
- "" $DEFAULT_CFLAGS
+ "" $DEFAULT_CHARSETCFLAGS
# All done.
dg-finish
/* 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" } }