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: Eric Botcazou <ebotcazou at adacore dot com>
- To: Jakub Jelinek <jakub at redhat 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 19:51:36 +0200
- Subject: Re: [PATCH] Fix -fcompare-debug issue with -fsched-pressure (PR debug/44178)
- References: <20100520105109.GN10293@tyan-ft48-01.lab.bos.redhat.com>
> 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
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
--
Eric Botcazou