r246461 - in /trunk/gcc: cp/ChangeLog cp/cp-gim...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Fri Mar 24 14:22:00 GMT 2017
Author: mpolacek
Date: Fri Mar 24 14:22:01 2017
New Revision: 246461
URL: https://gcc.gnu.org/viewcvs?rev=246461&root=gcc&view=rev
Log:
PR c++/80119
* cp-gimplify.c (cp_fold): Strip CLEANUP_POINT_EXPR if the expression
doesn't have side effects.
* g++.dg/warn/Wuninitialized-9.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/warn/Wuninitialized-9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list