This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] remove needless -O2 in ld testsuite case


I would like to apply this to the binutils-2_11-branch and mainline:


Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ChangeLog,v
retrieving revision 1.50.2.2
diff -u -r1.50.2.2 ChangeLog
--- ChangeLog	2001/03/18 16:39:39	1.50.2.2
+++ ChangeLog	2001/04/01 03:11:24
@@ -1,3 +1,9 @@
+001-03-31  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-18  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
 	* ld-selective/selective.exp: Don't run test for 68hc11 and 68hc12

Index: ld-selective/selective.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-selective/selective.exp,v
retrieving revision 1.11.2.2
diff -u -r1.11.2.2 selective.exp
--- selective.exp	2001/03/18 16:39:39	1.11.2.2
+++ selective.exp	2001/04/01 03:11:24
@@ -51,7 +51,7 @@
   {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"


-- 
-- David  (obrien@FreeBSD.org)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]