r246008 - in /trunk/gcc: cp/ChangeLog cp/init.c...
mpolacek@gcc.gnu.org
mpolacek@gcc.gnu.org
Thu Mar 9 16:36:00 GMT 2017
Author: mpolacek
Date: Thu Mar 9 16:36:37 2017
New Revision: 246008
URL: https://gcc.gnu.org/viewcvs?rev=246008&root=gcc&view=rev
Log:
PR c++/79687
* init.c (constant_value_1): Break if the variable has a dynamic
initializer.
* g++.dg/expr/ptrmem8.C: New test.
* g++.dg/expr/ptrmem9.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/expr/ptrmem8.C
trunk/gcc/testsuite/g++.dg/expr/ptrmem9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list