This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: (bootstrap-debug) introduce make bootstrap-debug
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Alexandre Oliva" <aoliva at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 16 Aug 2007 12:24:47 -0700
- Subject: Re: (bootstrap-debug) introduce make bootstrap-debug
- References: <orabsr9upv.fsf@oliva.athome.lsd.ic.unicamp.br>
On 8/16/07, Alexandre Oliva <aoliva@redhat.com> wrote:
> This patch enables us to test whether -g0 and -g2 do indeed generate
> identical code, as intended. With this patch, stage2 is built with
> -g0 and stage3 with -g2. I suppose I could turn these into Makefile
> macros for additional flexibility, and leave stage3's flags alone,
> while setting stage2's additional -g flag to -g or -g0 depending on
> whether BOOT_CFLAGS contains -g, but I'll leave that for a separate
> patch.
How about just adding a testsuite instead of changing bootstrap?
Plus there is already a testcase like this already, see
gcc.c-torture/unsorted/dump-noaddr.[cx] .
Thanks,
Andrew Pinski