https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127752

--- Comment #7 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Or better yet. Have another bit that is set if it contains a volatile field and
it is also set if it contains a field which contains a volatile field.

This gets set during layout. So you dont need any extra tree walks at all.

Reply via email to