r139957 - in /branches/gcc-4_3-branch/gcc: cp/C...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Wed Sep 3 20:38:00 GMT 2008


Author: jakub
Date: Wed Sep  3 20:38:38 2008
New Revision: 139957

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139957
Log:
	PR c++/37348
	* decl.c (cp_finish_decl): Only set
	DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P if decl is VAR_DECL.

	* g++.dg/parse/crash45.C: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/parse/crash45.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/decl.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list