Re: [PR84682] disregard address constraints on non-addresses

2018-03-14 Thread Bin.Cheng
On Wed, Mar 14, 2018 at 8:03 AM, Alexandre Oliva wrote: > On Mar 12, 2018, "Bin.Cheng" wrote: > >> internal compiler error: in aarch64_classify_address, at >> config/aarch64/aarch64.c:5678 >> 0xfe3c29 aarch64_classify_address >> /.../build/src/gcc/gcc/config/aarch64/aarch64.c:5677 >> 0xfe8be8

Re: [PR84682] disregard address constraints on non-addresses

2018-03-14 Thread Alexandre Oliva
On Mar 12, 2018, "Bin.Cheng" wrote: > internal compiler error: in aarch64_classify_address, at > config/aarch64/aarch64.c:5678 > 0xfe3c29 aarch64_classify_address > /.../build/src/gcc/gcc/config/aarch64/aarch64.c:5677 > 0xfe8be8 aarch64_legitimate_address_hook_p > /.../build/src/gcc/gcc/c

Re: [PR84682] disregard address constraints on non-addresses

2018-03-12 Thread Bin.Cheng
On Fri, Mar 9, 2018 at 6:45 AM, Alexandre Oliva wrote: > LRA gets very confused when non-addresses are passed as operands to > asms with address contraints. Even if other constraints are > available, and the operand is a perfect fit for them, we'd still > attempt to process the operand as an addr

Re: [PR84682] disregard address constraints on non-addresses

2018-03-09 Thread Jeff Law
On 03/08/2018 11:45 PM, Alexandre Oliva wrote: > LRA gets very confused when non-addresses are passed as operands to > asms with address contraints. Even if other constraints are > available, and the operand is a perfect fit for them, we'd still > attempt to process the operand as an address, and

Re: [PR84682] disregard address constraints on non-addresses

2018-03-09 Thread Vladimir Makarov
On 03/09/2018 01:45 AM, Alexandre Oliva wrote: LRA gets very confused when non-addresses are passed as operands to asms with address contraints. Even if other constraints are available, and the operand is a perfect fit for them, we'd still attempt to process the operand as an address, and fail

[PR84682] disregard address constraints on non-addresses

2018-03-08 Thread Alexandre Oliva
LRA gets very confused when non-addresses are passed as operands to asms with address contraints. Even if other constraints are available, and the operand is a perfect fit for them, we'd still attempt to process the operand as an address, and fail miserably at that. Truth is, address constraints