https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84686
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Mon Mar 5 14:28:15 2018 New Revision: 258246 URL: https://gcc.gnu.org/viewcvs?rev=258246&root=gcc&view=rev Log: PR c++/84686 - missing volatile loads. * cvt.c (convert_to_void): Call maybe_undo_parenthesized_ref. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/tree-ssa/volatile2.C Modified: branches/gcc-6-branch/gcc/cp/ChangeLog branches/gcc-6-branch/gcc/cp/cvt.c