From: David O'Brien Date: Mon, 2 Apr 2001 23:31:54 +0000 (+0000) Subject: 001-04-01 David O'Brien X-Git-Tag: binutils-2_11~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e270703fd161435d701460873ba211e0829a325;p=thirdparty%2Fbinutils-gdb.git 001-04-01 David O'Brien * 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 --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index e57f2c1cfac..242ea2bd7c5 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +001-03-31 David O'Brien + + * 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-18 Stephane Carrez * ld-selective/selective.exp: Don't run test for 68hc11 and 68hc12 diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp index 01544ce55ff..947c1171745 100644 --- a/ld/testsuite/ld-selective/selective.exp +++ b/ld/testsuite/ld-selective/selective.exp @@ -51,7 +51,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"