[PATCH][v2] Adjust volatile handling of the operand scanner

Eric Botcazou botcazou@adacore.com
Tue Aug 10 21:03:01 GMT 2021


> The question is whether we instead want to amend build3 to
> set TREE_THIS_VOLATILE automatically when the FIELD_DECL has
> it set.  At least for the Fortran FE cases the gimplifier
> fails to see some volatile references and thus can generate
> wrong code which is a latent issue.

What do we do for other similar flags, e.g. TREE_READONLY?

-- 
Eric Botcazou





More information about the Gcc-patches mailing list