r215863 - in /trunk/gcc: cp/ChangeLog cp/decl.c...

jason@gcc.gnu.org jason@gcc.gnu.org
Fri Oct 3 16:48:00 GMT 2014


Author: jason
Date: Fri Oct  3 16:48:24 2014
New Revision: 215863

URL: https://gcc.gnu.org/viewcvs?rev=215863&root=gcc&view=rev
Log:
	* decl.c (start_decl): Complain about static/thread_local vars
	in constexpr function.
	(check_for_uninitialized_const_var): Also uninitialized vars.
	* parser.c (cp_parser_jump_statement): And gotos.
	(cp_parser_asm_operand_list): And asm.
	(cp_parser_try_block): And try.
	* semantics.c (ensure_literal_type_for_constexpr_object): And
	non-literal.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1y/constexpr-neg1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/semantics.c



More information about the Gcc-cvs mailing list