Commit e88d975c by Mark Mitchell Committed by Mark Mitchell

* g++.dg/ecos.exp: Don't supply -finit-priority to cc1plus.

From-SVN: r29563
parent 69ca7658
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> Tue Sep 21 15:38:10 BST 1999 Nathan Sidwell <nathan@acm.org>
* g++.old-deja/g++.other/dyncast1.C: New test. * g++.old-deja/g++.other/dyncast1.C: New test.
......
...@@ -29,7 +29,7 @@ load_lib g++-dg.exp ...@@ -29,7 +29,7 @@ load_lib g++-dg.exp
########### ###########
dg-init dg-init
dg-runtest "$srcdir/$subdir/conpr-1.C" "-finit-priority" "" dg-runtest "$srcdir/$subdir/conpr-1.C" "" ""
dg-finish dg-finish
...@@ -39,11 +39,11 @@ dg-finish ...@@ -39,11 +39,11 @@ dg-finish
dg-init 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 { if ![string match "" $lines] then {
fail "conpr-2a.o" fail "conpr-2a.o"
} else { } 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 file delete conpr-2a.o
} }
dg-finish dg-finish
...@@ -55,17 +55,17 @@ dg-finish ...@@ -55,17 +55,17 @@ dg-finish
dg-init 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 { if ![string match "" $lines] then {
fail "conpr-3a.o" fail "conpr-3a.o"
} else { } 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 { if ![string match "" $lines] then {
fail "conpr-3b.o" fail "conpr-3b.o"
} else { } else {
# run it with objects both ways around! # 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-3a.o conpr-3b.o" ""
dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3b.o conpr-3a.o" "-finit-priority" dg-runtest "$srcdir/$subdir/conpr-3.C" "conpr-3b.o conpr-3a.o" ""
file delete conpr-3a.o conpr-3b.o file delete conpr-3a.o conpr-3b.o
} }
} }
......
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