From 44df2f94b9d797954a3a16ef17a3d8ee24e0b748 Mon Sep 17 00:00:00 2001 From: David O'Brien Date: Mon, 2 Apr 2001 23:33:20 +0000 Subject: [PATCH] 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 --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-selective/selective.exp | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 195eabc4c6c..c5086ea7dee 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +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. + 2001-03-06 DJ Delorie * ld-scripts/cross2.t: Support any type of text/data sections, not diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp index 98bc9c6481f..dd285481dd9 100644 --- a/ld/testsuite/ld-selective/selective.exp +++ b/ld/testsuite/ld-selective/selective.exp @@ -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" -- 2.30.2