Re: RFA: patch to fix PR55116

2012-10-30 Thread Vladimir Makarov
On 10/30/2012 09:39 AM, Richard Sandiford wrote: "H.J. Lu" writes: On Tue, Oct 30, 2012 at 4:38 AM, H.J. Lu wrote: On Tue, Oct 30, 2012 at 4:09 AM, Richard Sandiford wrote: The address in this case is: (plus:SI (mult:SI (reg/v:SI 223 [orig:154 j ] [154]) (const_int 8 [0x8]))

Re: RFA: patch to fix PR55116

2012-10-30 Thread Richard Sandiford
"H.J. Lu" writes: > On Tue, Oct 30, 2012 at 4:38 AM, H.J. Lu wrote: >> On Tue, Oct 30, 2012 at 4:09 AM, Richard Sandiford >> wrote: >>> The address in this case is: >>> >>> (plus:SI (mult:SI (reg/v:SI 223 [orig:154 j ] [154]) >>> (const_int 8 [0x8])) >>> (subreg:SI (plus:DI (reg/f:DI

Re: RFA: patch to fix PR55116

2012-10-30 Thread H.J. Lu
On Tue, Oct 30, 2012 at 4:38 AM, H.J. Lu wrote: > On Tue, Oct 30, 2012 at 4:09 AM, Richard Sandiford > wrote: >> "H.J. Lu" writes: >>> On Mon, Oct 29, 2012 at 5:11 PM, H.J. Lu wrote: On Mon, Oct 29, 2012 at 4:41 PM, H.J. Lu wrote: > On Mon, Oct 29, 2012 at 9:38 AM, Vladimir Makarov >>

Re: RFA: patch to fix PR55116

2012-10-30 Thread H.J. Lu
On Tue, Oct 30, 2012 at 4:09 AM, Richard Sandiford wrote: > "H.J. Lu" writes: >> On Mon, Oct 29, 2012 at 5:11 PM, H.J. Lu wrote: >>> On Mon, Oct 29, 2012 at 4:41 PM, H.J. Lu wrote: On Mon, Oct 29, 2012 at 9:38 AM, Vladimir Makarov wrote: > On 12-10-29 12:21 PM, Richard Sandiford

Re: RFA: patch to fix PR55116

2012-10-30 Thread Richard Sandiford
"H.J. Lu" writes: > On Mon, Oct 29, 2012 at 5:11 PM, H.J. Lu wrote: >> On Mon, Oct 29, 2012 at 4:41 PM, H.J. Lu wrote: >>> On Mon, Oct 29, 2012 at 9:38 AM, Vladimir Makarov >>> wrote: On 12-10-29 12:21 PM, Richard Sandiford wrote: > > Vladimir Makarov writes: >> >> H.J

Re: RFA: patch to fix PR55116

2012-10-29 Thread H.J. Lu
On Mon, Oct 29, 2012 at 5:11 PM, H.J. Lu wrote: > On Mon, Oct 29, 2012 at 4:41 PM, H.J. Lu wrote: >> On Mon, Oct 29, 2012 at 9:38 AM, Vladimir Makarov >> wrote: >>> On 12-10-29 12:21 PM, Richard Sandiford wrote: Vladimir Makarov writes: > > H.J. in > > http://gcc.

Re: RFA: patch to fix PR55116

2012-10-29 Thread H.J. Lu
On Mon, Oct 29, 2012 at 4:41 PM, H.J. Lu wrote: > On Mon, Oct 29, 2012 at 9:38 AM, Vladimir Makarov wrote: >> On 12-10-29 12:21 PM, Richard Sandiford wrote: >>> >>> Vladimir Makarov writes: H.J. in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 reported a

Re: RFA: patch to fix PR55116

2012-10-29 Thread H.J. Lu
On Mon, Oct 29, 2012 at 9:38 AM, Vladimir Makarov wrote: > On 12-10-29 12:21 PM, Richard Sandiford wrote: >> >> Vladimir Makarov writes: >>> >>> H.J. in >>> >>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 >>> >>> reported an interesting address >>> >>> (and:DI (subreg:DI (plus:SI (a

Re: RFA: patch to fix PR55116

2012-10-29 Thread H.J. Lu
On Mon, Oct 29, 2012 at 9:38 AM, Vladimir Makarov wrote: > On 12-10-29 12:21 PM, Richard Sandiford wrote: >> >> Vladimir Makarov writes: >>> >>> H.J. in >>> >>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 >>> >>> reported an interesting address >>> >>> (and:DI (subreg:DI (plus:SI (a

Re: RFA: patch to fix PR55116

2012-10-29 Thread Uros Bizjak
On 12-10-29 12:21 PM, Richard Sandiford wrote: > Vladimir Makarov writes: >>H.J. in >> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 >> >>reported an interesting address >> >>> (and:DI (subreg:DI (plus:SI (ashift:SI (reg:SI 96 [ glob_vol_int.22 ]) >> (const_int 2 [0

Re: RFA: patch to fix PR55116

2012-10-29 Thread Vladimir Makarov
On 12-10-29 12:30 PM, Richard Sandiford wrote: Sorry, forgot a line: i.e. please use SUBREG_REG rather than XEXP. I've just fixed it.

Re: RFA: patch to fix PR55116

2012-10-29 Thread Vladimir Makarov
On 12-10-29 12:21 PM, Richard Sandiford wrote: Vladimir Makarov writes: H.J. in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 reported an interesting address (and:DI (subreg:DI (plus:SI (ashift:SI (reg:SI 96 [ glob_vol_int.22 ]) (const_int 2 [0x2]))

Re: RFA: patch to fix PR55116

2012-10-29 Thread Richard Sandiford
Sorry, forgot a line: Richard Sandiford writes: > Vladimir Makarov writes: >> Index: rtlanal.c >> === >> --- rtlanal.c (revision 192942) >> +++ rtlanal.c (working copy) >> @@ -5459,6 +5459,11 @@ strip_address_mutations (rtx *loc

Re: RFA: patch to fix PR55116

2012-10-29 Thread Richard Sandiford
Vladimir Makarov writes: >H.J. in > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 > >reported an interesting address > > (and:DI (subreg:DI (plus:SI (ashift:SI (reg:SI 96 [ glob_vol_int.22 ]) > (const_int 2 [0x2])) > (symbol_ref:SI ("glob_vol_int_arr")

RFA: patch to fix PR55116

2012-10-29 Thread Vladimir Makarov
H.J. in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55116 reported an interesting address (and:DI (subreg:DI (plus:SI (ashift:SI (reg:SI 96 [ glob_vol_int.22 ]) (const_int 2 [0x2])) (symbol_ref:SI ("glob_vol_int_arr") 0x703c2720 glob_vol_int_arr>)) 0) (c