Re: PR middle-end/52373: two pc_rtxs, etc.

2012-03-06 Thread Hans-Peter Nilsson
> From: Richard Sandiford > Date: Mon, 27 Feb 2012 20:58:42 +0100 > This patch fixed PR 52373, ITYM 52372. > Tested on mips-sde-elf with rtl checking enabled. There were no > differences. Also tested with a mips-sgi-irix6.5 cc1 cross to verify > that it fixes the bug. OK to install? > > Ric

Re: PR middle-end/52373: two pc_rtxs, etc.

2012-03-06 Thread Richard Henderson
On 02/27/12 11:58, Richard Sandiford wrote: > gcc/ > * rtl.h (pc_rtx, ret_rtx, simple_return_rtx, cc0_rtx): Redefine as > variables. > (GR_PC, GR_CC0, GR_RETURN, GR_SIMPLE_RETURN): Delete. > * emit-rtl.c (pc_rtx, ret_rtx, simple_return_rtx, cc0_rtx): New > variables. >

Re: PR middle-end/52373: two pc_rtxs, etc.

2012-02-27 Thread Richard Sandiford
Mike Stump writes: > On Feb 27, 2012, at 11:58 AM, Richard Sandiford wrote: >> This patch fixed PR 52373, > > This 52373: > > Bug 52373 - template usage drops some checks on the accessibility of a member Let's pretend I said 52372... (Now also added to the changelog) Richard

Re: PR middle-end/52373: two pc_rtxs, etc.

2012-02-27 Thread Mike Stump
On Feb 27, 2012, at 11:58 AM, Richard Sandiford wrote: > This patch fixed PR 52373, This 52373: Bug 52373 - template usage drops some checks on the accessibility of a member ?

PR middle-end/52373: two pc_rtxs, etc.

2012-02-27 Thread Richard Sandiford
This patch fixed PR 52373, which is a segfault or rtl checking failure (depending on how lucky you are) on mips-sgi-irix6.5. I can't reproduce it on *-elf or *-linux-gnu, probably because we use .cfi_* there. The problem is that, although pc_rtx is expected to be unique, it is recreated by each c