This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r253600 - in /trunk/gcc/cp: ChangeLog constexpr...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 10 Oct 2017 18:03:56 -0000
- Subject: r253600 - in /trunk/gcc/cp: ChangeLog constexpr...
Author: jason
Date: Tue Oct 10 18:03:56 2017
New Revision: 253600
URL: https://gcc.gnu.org/viewcvs?rev=253600&root=gcc&view=rev
Log:
Various small C++ fixes.
* typeck.c (condition_conversion): Assert !processing_template_decl.
* semantics.c (finish_omp_clauses): Don't
fold_build_cleanup_point_expr if processing_template_decl.
(outer_var_p): A temporary can't be from an outer scope.
* pt.c (type_dependent_expression_p): Fix dependency checking of
functions without DECL_TEMPLATE_INFO.
(instantiate_decl): Use lss_copy.
* constexpr.c (is_valid_constexpr_fn): Fix lambdas before C++17.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
trunk/gcc/cp/pt.c
trunk/gcc/cp/semantics.c
trunk/gcc/cp/typeck.c