Commit 0717c5b0 by Eric Christopher Committed by Eric Christopher

charset.exp: Change CFLAGS to CHARSETCFLAGS.

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.

From-SVN: r78596
parent 2a4fc77a
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" } }
......
......@@ -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
/* 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" } }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment