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]

RFA: Don't use -Wuninitialized if CFLAGS omits -O


I've committed this.

> This allows gdb_mbuild.sh to work with CFLAGS=-g, which improves
> compilation speed and helps with debugging.
> 
> 2005-02-28  Jim Blandy  <jimb@redhat.com>
> 
> 	Avoid warnings due to the use of -Wuninitialized without -O.
> 	* configure.ac (build_warnings): Include -Wuninitialized only if
> 	CFLAGS is unset at configure time, or CFLAGS is set and includes
> 	some -O option other than -O0.
> 	* configure: Regenerated.


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