Re: [PATCH 50/50] varasm.c:compute_reloc_for_rtx

2014-08-05 Thread Jeff Law
On 08/03/14 08:45, Richard Sandiford wrote: There's no point calling for_each_rtx/FOR_EACH_SUBRTX on a LABEL_REF or SYMBOL_REF. We can just handle them directly instead. gcc/ * varasm.c (compute_reloc_for_rtx_1): Take a const_rtx. Remove the pointer to the cumulative reloc val

[PATCH 50/50] varasm.c:compute_reloc_for_rtx

2014-08-03 Thread Richard Sandiford
There's no point calling for_each_rtx/FOR_EACH_SUBRTX on a LABEL_REF or SYMBOL_REF. We can just handle them directly instead. gcc/ * varasm.c (compute_reloc_for_rtx_1): Take a const_rtx. Remove the pointer to the cumulative reloc value and return the value for this reloc