Re: [patch] Fix ICE on VLA in LTO mode

2019-12-09 Thread Richard Biener
On Mon, Dec 9, 2019 at 1:23 PM Eric Botcazou wrote: > > Hi, > > this is a regression present on the mainline and 9 branch: the compiler gives > an ICE for the attached Ada testcase on the following assertion: > > if (DECL_P (ref)) > { > /* We shouldn't have true variables h

[patch] Fix ICE on VLA in LTO mode

2019-12-09 Thread Eric Botcazou
Hi, this is a regression present on the mainline and 9 branch: the compiler gives an ICE for the attached Ada testcase on the following assertion: if (DECL_P (ref)) { /* We shouldn't have true variables here. */ gcc_assert (TREE_READONLY (ref)); subst