This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix -fcompare-debug issue with -fsched-pressure (PR debug/44178)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Vladimir Makarov <vmakarov at redhat dot com>, Alexandre Oliva <aoliva at redhat dot com>
- Date: Mon, 31 May 2010 20:01:12 +0200
- Subject: Re: [PATCH] Fix -fcompare-debug issue with -fsched-pressure (PR debug/44178)
- References: <20100520105109.GN10293@tyan-ft48-01.lab.bos.redhat.com> <201005311951.36867.ebotcazou@adacore.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, May 31, 2010 at 07:51:36PM +0200, Eric Botcazou wrote:
> > Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux.
> > Ok for trunk?
> >
> > 2010-05-20 Jakub Jelinek <jakub@redhat.com>
> >
> > PR debug/44178
> > * haifa-sched.c (initiate_bb_reg_pressure_info): Do not call
> > setup_ref_regs for DEBUG_INSNs.
> >
> > * g++.dg/debug/pr44178.C: New test.
>
> I see you put this on the 4.5 branch as well, but I get with RTL checking:
>
> /home/eric/gnat/gnat6_45/src/gcc/testsuite/g++.dg/debug/pr44178.C: In
> function 'B f4(int, int, int)':
> /home/eric/gnat/gnat6_45/src/gcc/testsuite/g++.dg/debug/pr44178.C:39:1:
> internal compiler error: RTL check: expected elt 3 type 'B', have '0' (rtx
> barrier) in setup_insn_max_reg_pressure, at haifa-sched.c:1589
I guess PR43332 needs to be backported to 4.5 branch...
Jakub