Re: [PATCH 2/2] Fix ILP32 ld.so.

2014-10-15 Thread Andreas Schwab
Tested on ia64-suse-linux and installed as obvious. Andreas. * explow.c (convert_memory_address_addr_space_1): Mark in_const as ATTRIBUTE_UNUSED. Index: explow.c === --- explow.c(revision 216239) +++ explow.c

Re: [PATCH 2/2] Fix ILP32 ld.so.

2014-10-14 Thread Richard Henderson
On 08/08/2014 08:51 PM, Andrew Pinski wrote: ChangeLog: * explow.c (convert_memory_address_addr_space): Rename to ... (convert_memory_address_addr_space_1): This. Add in_const argument. Inside a CONST RTL, permute the conversion and addition of constant for zero and

Re: [PATCH 2/2] Fix ILP32 ld.so.

2014-10-13 Thread Andrew Pinski
On Fri, Aug 8, 2014 at 8:51 PM, Andrew Pinski apin...@cavium.com wrote: This patch fixes the original problem that HJL was having with x32 in PR 47727, it is more constraint than HJL's patch only care about what is happening inside a CONST; if we allow it for other cases, the RTL and

[PATCH 2/2] Fix ILP32 ld.so.

2014-08-08 Thread Andrew Pinski
This patch fixes the original problem that HJL was having with x32 in PR 47727, it is more constraint than HJL's patch only care about what is happening inside a CONST; if we allow it for other cases, the RTL and generated code is incorrect as it does not have the needed zero extend. This allows