This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/84686] [6/7 Regression] Parenthesized discarded value expression are not evaluated with option -std=c++14


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]