001-04-01 David O'Brien <obrien@FreeBSD.org>
authorDavid O'Brien <obrien@FreeBSD.org>
Mon, 2 Apr 2001 23:33:20 +0000 (23:33 +0000)
committerDavid O'Brien <obrien@FreeBSD.org>
Mon, 2 Apr 2001 23:33:20 +0000 (23:33 +0000)
* ld-selective/selective.exp: Use -O with gcc rather than -O2.
This optimization level is buggy on some platforms, and this test
is not intended to test compiler optimizations.

Approved by:  Alan Modra <alan@linuxcare.com.au>
              <Pine.LNX.4.21.0104021510450.487-100000@front.linuxcare.com.au>

ld/testsuite/ChangeLog
ld/testsuite/ld-selective/selective.exp

index 195eabc..c5086ea 100644 (file)
@@ -1,3 +1,9 @@
+001-04-01  David O'Brien  <obrien@FreeBSD.org>
+
+       * ld-selective/selective.exp: Use -O with gcc rather than -O2.
+       This optimization level is buggy on some platforms, and this test
+       is not intended to test compiler optimizations.
+
 2001-03-06  DJ Delorie  <dj@redhat.com>
 
        * ld-scripts/cross2.t: Support any type of text/data sections, not
index 98bc9c6..dd28548 100644 (file)
@@ -46,7 +46,7 @@ set seltests {
   {selective6 C++ 5.cc {} {} {foo__1B foo__1A dropme1__Fv dropme2__Fv} {*-*-*}}
 }
 
-set cflags "-w -O2 -ffunction-sections -fdata-sections"
+set cflags "-w -O -ffunction-sections -fdata-sections"
 set cxxflags "-fvtable-gc -fno-exceptions -fno-rtti"
 set ldflags "--gc-sections -Bstatic"