https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89585
--- Comment #30 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Harald van Dijk from comment #28) > Okay, the version without a warning was checked in. Should I have suggested > the warning elsewhere? For 8.x we do not want to warn, that will break people building with -Werror. For 9.x, Jason said that perhaps we should warn instead of error for volatile, so I'll submit incremental patch.