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
This commit is contained in:
parent
2a4fc77a22
commit
0717c5b065
|
@ -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
|
||||
|
|
|
@ -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" } }
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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" } }
|
||||
|
|
Loading…
Reference in New Issue