Re: RFC: PR middle-end/55142: Check Pmode instead of ptr_mode for address mode

2012-11-05 Thread H.J. Lu
On Mon, Nov 5, 2012 at 3:06 PM, Richard Sandiford wrote: > "H.J. Lu" writes: >> On Sat, Nov 3, 2012 at 1:14 AM, H.J. Lu wrote: >>> Hi, >>> >>> The testcase shows -O -mx32 -maddress-mode=long -fPIC -S generates; >>> >>> x.i:22:37: internal compiler error: in plus_constant, at explow.c:88 >>> in

Re: RFC: PR middle-end/55142: Check Pmode instead of ptr_mode for address mode

2012-11-05 Thread H.J. Lu
On Mon, Nov 5, 2012 at 3:06 PM, Richard Sandiford wrote: > "H.J. Lu" writes: >> On Sat, Nov 3, 2012 at 1:14 AM, H.J. Lu wrote: >>> Hi, >>> >>> The testcase shows -O -mx32 -maddress-mode=long -fPIC -S generates; >>> >>> x.i:22:37: internal compiler error: in plus_constant, at explow.c:88 >>> in

Re: RFC: PR middle-end/55142: Check Pmode instead of ptr_mode for address mode

2012-11-05 Thread Richard Sandiford
"H.J. Lu" writes: > On Sat, Nov 3, 2012 at 1:14 AM, H.J. Lu wrote: >> Hi, >> >> The testcase shows -O -mx32 -maddress-mode=long -fPIC -S generates; >> >> x.i:22:37: internal compiler error: in plus_constant, at explow.c:88 >> info[0x6eff - dyn->d_tag + 12] = dyn; >> >> expand_expr_real_2 ha

Re: RFC: PR middle-end/55142: Check Pmode instead of ptr_mode for address mode

2012-11-05 Thread H.J. Lu
On Sat, Nov 3, 2012 at 1:14 AM, H.J. Lu wrote: > Hi, > > The testcase shows -O -mx32 -maddress-mode=long -fPIC -S generates; > > x.i:22:37: internal compiler error: in plus_constant, at explow.c:88 > info[0x6eff - dyn->d_tag + 12] = dyn; > > expand_expr_real_2 has > > /* No sense savin