Re: [PATCH] PR target/67850: Wrong call_used_regs used in aggregate_value_p

2015-10-12 Thread H.J. Lu
On Wed, Oct 7, 2015 at 2:01 AM, Uros Bizjak wrote: > On Wed, Oct 7, 2015 at 10:53 AM, Richard Biener wrote: > >>> >>> > > Since targetm.expand_to_rtl_hook may be called to switch ABI, it >>> >>> > > should >>> >>> > > be called for each function before expanding to RTL. Otherwise, we >>> >>> >

Re: [PATCH] PR target/67850: Wrong call_used_regs used in aggregate_value_p

2015-10-07 Thread Uros Bizjak
On Wed, Oct 7, 2015 at 10:53 AM, Richard Biener wrote: >> >>> > > Since targetm.expand_to_rtl_hook may be called to switch ABI, it >> >>> > > should >> >>> > > be called for each function before expanding to RTL. Otherwise, we >> >>> > > may >> >>> > > use the stale information from compilatio

Re: [PATCH] PR target/67850: Wrong call_used_regs used in aggregate_value_p

2015-10-07 Thread Richard Biener
On Tue, 6 Oct 2015, H.J. Lu wrote: > On Tue, Oct 6, 2015 at 8:01 AM, H.J. Lu wrote: > > On Tue, Oct 6, 2015 at 6:39 AM, Richard Biener wrote: > >> On Tue, 6 Oct 2015, H.J. Lu wrote: > >> > >>> On Tue, Oct 06, 2015 at 02:30:59PM +0200, Richard Biener wrote: > >>> > On Tue, Oct 6, 2015 at 1:43 PM,

Re: [PATCH] PR target/67850: Wrong call_used_regs used in aggregate_value_p

2015-10-06 Thread H.J. Lu
On Tue, Oct 6, 2015 at 8:01 AM, H.J. Lu wrote: > On Tue, Oct 6, 2015 at 6:39 AM, Richard Biener wrote: >> On Tue, 6 Oct 2015, H.J. Lu wrote: >> >>> On Tue, Oct 06, 2015 at 02:30:59PM +0200, Richard Biener wrote: >>> > On Tue, Oct 6, 2015 at 1:43 PM, H.J. Lu wrote: >>> > > Since targetm.expand_to

Re: [PATCH] PR target/67850: Wrong call_used_regs used in aggregate_value_p

2015-10-06 Thread H.J. Lu
On Tue, Oct 6, 2015 at 6:39 AM, Richard Biener wrote: > On Tue, 6 Oct 2015, H.J. Lu wrote: > >> On Tue, Oct 06, 2015 at 02:30:59PM +0200, Richard Biener wrote: >> > On Tue, Oct 6, 2015 at 1:43 PM, H.J. Lu wrote: >> > > Since targetm.expand_to_rtl_hook may be called to switch ABI, it should >> > >

Re: [PATCH] PR target/67850: Wrong call_used_regs used in aggregate_value_p

2015-10-06 Thread Richard Biener
On Tue, 6 Oct 2015, H.J. Lu wrote: > On Tue, Oct 06, 2015 at 02:30:59PM +0200, Richard Biener wrote: > > On Tue, Oct 6, 2015 at 1:43 PM, H.J. Lu wrote: > > > Since targetm.expand_to_rtl_hook may be called to switch ABI, it should > > > be called for each function before expanding to RTL. Otherwi