[PATCH RFA] tree-inline: Fix VLA handling [PR95552]

Eric Botcazou botcazou@adacore.com
Sat Jun 6 08:56:18 GMT 2020


> This patch fixes walk_tree_1 to call the function on the TYPE_DECL, as we do
> for other decls of a DECL_EXPR.

Where is that done exactly?  The only case handled by DECL_EXPR is TYPE_DECL.

The correct thing to do is clearly implied by the first line in your patch.

-- 
Eric Botcazou


More information about the Gcc-patches mailing list