This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Remove -O0 from igen build flags


I'm not sure how this came to be there so I'm removing it (I suspect an accidental commit) - having -O0 stops -Wuninitialized and the like from working with GCC.

committed,
Andrew

2002-06-17  Andrew Cagney  <cagney@redhat.com>

	* Makefile.in (BUILD_CFLAGS): Remove -O0.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/igen/Makefile.in,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 Makefile.in
--- Makefile.in	9 Sep 1999 00:01:54 -0000	1.1.1.2
+++ Makefile.in	17 Jun 2002 20:56:13 -0000
@@ -85,7 +85,7 @@
 	$(CFLAGS_FOR_BUILD) \
 	$(IGEN_WARN_CFLAGS) \
 	$(IGEN_WERROR_CFLAGS) \
-	$(INCLUDES) -O0
+	$(INCLUDES)
 BUILD_LDFLAGS = 
 
 all:	igen

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