r257768 - in /branches/gcc-6-branch/gcc: cp/Cha...
jason@gcc.gnu.org
jason@gcc.gnu.org
Fri Feb 16 21:34:00 GMT 2018
Author: jason
Date: Fri Feb 16 21:34:57 2018
New Revision: 257768
URL: https://gcc.gnu.org/viewcvs?rev=257768&root=gcc&view=rev
Log:
PR c++/84151 - unnecessary volatile load with static member.
* call.c (build_new_method_call_1): Avoid loading from a volatile
lvalue used as the object argument for a static member function.
Added:
branches/gcc-6-branch/gcc/testsuite/g++.dg/tree-ssa/volatile1.C
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/call.c
More information about the Gcc-cvs
mailing list