This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: (bootstrap-debug) introduce make bootstrap-debug


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


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