Re: [PATCH] explow: Fix ICE caused by plus_constant [PR94002]

2020-03-03 Thread Richard Biener
On Tue, 3 Mar 2020, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs in cross to riscv64-linux. The problem is > that we have a DImode integral constant (that doesn't fit into SImode), > which is pushed into a constant pool and later access just the first half of > it using a MEM. Whe

[PATCH] explow: Fix ICE caused by plus_constant [PR94002]

2020-03-02 Thread Jakub Jelinek
Hi! The following testcase ICEs in cross to riscv64-linux. The problem is that we have a DImode integral constant (that doesn't fit into SImode), which is pushed into a constant pool and later access just the first half of it using a MEM. When plus_constant is called on such a MEM, if the consta