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: [PATCH] Fix -fcompare-debug issue with -fsched-pressure (PR debug/44178)


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


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