aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-21 20:27:48 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-21 20:27:48 +0000
commite88d975c082dca3e00c323f6e00ba581df5c55fd (patch)
tree8d5d3fb0f4f7fb758384ab627e92c8ac42463274 /gcc
parent69ca76581e9a9303a099d4f959ba6630e5721270 (diff)
downloadgcc-e88d975c082dca3e00c323f6e00ba581df5c55fd.zip
gcc-e88d975c082dca3e00c323f6e00ba581df5c55fd.tar.gz
gcc-e88d975c082dca3e00c323f6e00ba581df5c55fd.tar.bz2
* g++.dg/ecos.exp: Don't supply -finit-priority to cc1plus.
From-SVN: r29563
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/g++.dg/special/ecos.exp14
2 files changed, 11 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 65639f3..4190677 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+1999-09-21 Mark Mitchell <mark@codesourcery.com>
+
+ * g++.dg/ecos.exp: Don't supply -finit-priority to cc1plus.
+
Tue Sep 21 15:38:10 BST 1999 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/dyncast1.C: New test.
diff --git a/gcc/testsuite/g++.dg/special/ecos.exp b/gcc/testsuite/g++.dg/special/ecos.exp
index 34a54b7..373cc86 100644
--- a/gcc/testsuite/g++.dg/special/ecos.exp
+++ b/gcc/testsuite/g++.dg/special/ecos.exp
@@ -29,7 +29,7 @@ load_lib g++-dg.exp
###########
dg-init
-dg-runtest "$srcdir/$subdir/conpr-1.C" "-finit-priority" ""
+dg-runtest "$srcdir/$subdir/conpr-1.C" "" ""
dg-finish
@@ -39,11 +39,11 @@ dg-finish
dg-init
-set lines [g++_target_compile "$srcdir/$subdir/conpr-2a.C" "conpr-2a.o" object "additional_flags=-finit-priority"]
+set lines [g++_target_compile "$srcdir/$subdir/conpr-2a.C" "conpr-2a.o" object ""]
if ![string match "" $lines] then {
fail "conpr-2a.o"
} else {
- dg-runtest "$srcdir/$subdir/conpr-2.C" "conpr-2a.o" "-finit-priority"
+ dg-runtest "$srcdir/$subdir/conpr-2.C" "conpr-2a.o" ""
file delete conpr-2a.o
}
dg-finish
@@ -55,17 +55,17 @@ dg-finish
dg-init
-set lines [g++_target_compile "$srcdir/$subdir/conpr-3a.C" "conpr-3a.o" object "additional_flags=-finit-priority"]
+set lines [g++_target_compile "$srcdir/$subdir/conpr-3a.C" "conpr-3a.o" object ""]
if ![string match "" $lines] then {
fail "conpr-3a.o"
} else {
- set lines [g++_target_compile "$srcdir/$subdir/conpr-3b.C" "conpr-3b.o" object "additional_flags=-finit-priority"]
+ set lines [g++_target_compile "$srcdir/$subdir/conpr-3b.C" "conpr-3b.o" object ""]
if ![string match "" $lines] then {
fail "conpr-3b.o"
} else {
# run it with objects both ways around!
- dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3a.o conpr-3b.o" "-finit-priority"
- dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3b.o conpr-3a.o" "-finit-priority"
+ dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3a.o conpr-3b.o" ""
+ dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3b.o conpr-3a.o" ""
file delete conpr-3a.o conpr-3b.o
}
}