[Bug c++/84686] [6/7 Regression] Parenthesized discarded value expression are not evaluated with option -std=c++14
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Mar 5 14:28:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84686
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Mon Mar 5 14:28:07 2018
New Revision: 258245
URL: https://gcc.gnu.org/viewcvs?rev=258245&root=gcc&view=rev
Log:
PR c++/84686 - missing volatile loads.
* cvt.c (convert_to_void): Call maybe_undo_parenthesized_ref.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/tree-ssa/volatile2.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/cvt.c
More information about the Gcc-bugs
mailing list