On Tue, 25 May 2021, Eric Botcazou wrote: > > The problem with this patch is that it causes: > > > > FAIL: gnat.dg/opt94.adb scan-tree-dump-times optimized "worker" 1 > > > > which is exactly the testcase from the commit which caused the bug I am > > trying to address. > > Sorry about that, a thinko in the original change, I'm testing this fixlet.
LGTM. > > * gimplify.c (gimplify_decl_expr): Clear TREE_READONLY on the DECL > when creating an initialization statement for it. > * tree-inline.c (setup_one_parameter): Fix thinko in new condition. >