Re: [PATCH] Check ifunc_resolver only on FUNCTION_DECL

2018-05-26 Thread H.J. Lu
On Fri, May 25, 2018 at 4:48 AM, H.J. Lu wrote: > On Thu, May 24, 2018 at 04:43:25AM -0700, H.J. Lu wrote: >> Since ifunc_resolver is only valid on FUNCTION_DECL, check ifunc_resolver >> only on FUNCTION_DECL. >> >> Please test it on Darwin. >> >> >> H.J. >> --- >> PR

Re: [PATCH] Check ifunc_resolver only on FUNCTION_DECL

2018-05-25 Thread H.J. Lu
On Thu, May 24, 2018 at 04:43:25AM -0700, H.J. Lu wrote: > Since ifunc_resolver is only valid on FUNCTION_DECL, check ifunc_resolver > only on FUNCTION_DECL. > > Please test it on Darwin. > > > H.J. > --- > PR target/85900 > PR target/85345 > * varasm.c (assemble_alias): Check

Re: [PATCH] Check ifunc_resolver only on FUNCTION_DECL

2018-05-24 Thread Jeff Law
On 05/24/2018 05:43 AM, H.J. Lu wrote: > Since ifunc_resolver is only valid on FUNCTION_DECL, check ifunc_resolver > only on FUNCTION_DECL. > > Please test it on Darwin. > > > H.J. > --- > PR target/85900 > PR target/85345 > * varasm.c (assemble_alias): Check ifunc_resolver

[PATCH] Check ifunc_resolver only on FUNCTION_DECL

2018-05-24 Thread H.J. Lu
Since ifunc_resolver is only valid on FUNCTION_DECL, check ifunc_resolver only on FUNCTION_DECL. Please test it on Darwin. H.J. --- PR target/85900 PR target/85345 * varasm.c (assemble_alias): Check ifunc_resolver only on FUNCTION_DECL. --- gcc/varasm.c | 3 ++-