Re: [PATCH] Fix call expansion ICE (PR c++/79085)

2018-03-15 Thread Jason Merrill
LGTM. On Thu, Mar 15, 2018 at 3:25 PM, Jakub Jelinek wrote: > Hi! > > The following testcase ICEs on arm (or other strict alignment targets). > The problem is we have a call that returns a TREE_ADDRESSABLE type, > and the lhs of the call is some memory that isn't known to be

[PATCH] Fix call expansion ICE (PR c++/79085)

2018-03-15 Thread Jakub Jelinek
Hi! The following testcase ICEs on arm (or other strict alignment targets). The problem is we have a call that returns a TREE_ADDRESSABLE type, and the lhs of the call is some memory that isn't known to be sufficiently aligned. expand_call in that case allocates a temporary, lets the call return