Re: [PATCH] [MSP430] [PR78554] Prevent SUBREG from referencing a SYMBOL_REF

2017-11-27 Thread Jeff Law
On 08/24/2017 07:18 AM, Jozef Lawrynowicz wrote: > As reported in PR78554, attempting to store an __int20 address in memory > causes an ICE due to an invalid insn. This only occurs at optimisation > levels higher than -O0 because these optimisation levels pass > -ftree-ter, which causes the compile

Re: [PATCH] [MSP430] [PR78554] Prevent SUBREG from referencing a SYMBOL_REF

2017-11-21 Thread Jeff Law
On 08/24/2017 07:18 AM, Jozef Lawrynowicz wrote: > As reported in PR78554, attempting to store an __int20 address in memory > causes an ICE due to an invalid insn. This only occurs at optimisation > levels higher than -O0 because these optimisation levels pass > -ftree-ter, which causes the compile

[PATCH] [MSP430] [PR78554] Prevent SUBREG from referencing a SYMBOL_REF

2017-08-24 Thread Jozef Lawrynowicz
As reported in PR78554, attempting to store an __int20 address in memory causes an ICE due to an invalid insn. This only occurs at optimisation levels higher than -O0 because these optimisation levels pass -ftree-ter, which causes the compiler to try and do the store in one instruction. The issue