This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RFA: Don't use -Wuninitialized if CFLAGS omits -O
- From: Jim Blandy <jimb at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: 11 Mar 2005 15:59:36 -0500
- Subject: RFA: Don't use -Wuninitialized if CFLAGS omits -O
- References: <vt2is4c77ng.fsf@zenia.home>
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.