From: Ian Lance Taylor Date: Wed, 13 Jul 2011 01:04:50 +0000 (+0000) Subject: libgo/testsuite/gotest: Run tests in source file order. X-Git-Tag: releases/gcc-4.7.0~5399 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=09df293c7aa620c7c5494c7d7dbab2be2da0b040;p=thirdparty%2Fgcc.git libgo/testsuite/gotest: Run tests in source file order. From-SVN: r176223 --- diff --git a/libgo/testsuite/gotest b/libgo/testsuite/gotest index cae420f4f4bd..938f47551ca4 100755 --- a/libgo/testsuite/gotest +++ b/libgo/testsuite/gotest @@ -288,11 +288,11 @@ if test -n "$prefix"; then prefixarg="-fgo-prefix=$prefix" fi -$GC -g $prefixarg -c -I . -o _gotest_.o $gofiles $pkgbasefiles +$GC -g $prefixarg -c -I . -fno-toplevel-reorder -o _gotest_.o $gofiles $pkgbasefiles if $havex; then mkdir -p `dirname $package` cp _gotest_.o `dirname $package`/lib`basename $package`.a - $GC -g -c -I . -o $xofile $xgofiles + $GC -g -c -I . -fno-toplevel-reorder -o $xofile $xgofiles fi # They all compile; now generate the code to call them.