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]

Re: RFC: sim: don't use -Wuninitialized without -O


Frank approved this off-list, so I've committed it.

Jim Blandy <jimb@redhat.com> writes:

> I committed a similar patch for GDB a few days ago; this one is for
> the simulators.  I think I've avoided using '==' in this one.  :)
> Diffs to generated files omitted.
> 
> sim/common/ChangeLog:
> 2005-02-28  Jim Blandy  <jimb@redhat.com>
> 
> 	* aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
> 	-Wuninitialized in the default list of build warnings if CFLAGS is
> 	set, and doesn't include -O.  (Using -Wuninitialized without
> 	optimization produces a warning, which interferes with compilation
> 	with -Werror.)
> 
> sim/ChangeLog:
> 2005-02-28  Jim Blandy  <jimb@redhat.com>
> 
> 	* d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
> 	mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
> 	Regenerated, after change to common/aclocal.m4.


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