diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-14 16:59:52 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-11-14 16:59:52 +0000 |
commit | 21131a0560f3764375c9a24a2914932e74751c18 (patch) | |
tree | bb9b15a5c0dabd6abb40f5da82c60cf13379472d /gcc/cp/ChangeLog | |
parent | 997142ae117af1c8b2116498049b255d7a73670d (diff) | |
download | gcc-21131a0560f3764375c9a24a2914932e74751c18.tar.gz |
2014-11-14 Paolo Carlini <paolo.carlini@oracle.com>
* semantics.c (end_maybe_infinite_loop): Use fold_non_dependent_expr.
* parser.c (cp_parser_omp_clause_collapse): Likewise.
(cp_parser_enumerator_definition): Don't call
instantiate_non_dependent_expr...
* decl.c (build_enumerator): ... call fold_non_dependent_expr here.
* typeck2.c (massage_init_elt): Use fold_non_dependent_expr.
* constexpr.c (maybe_constant_value): Allow VIEW_CONVERT_EXPR in
the final gcc_assert.
* constexpr.c (fold_non_dependent_expr): Add.
* cp-tree.h (fold_non_dependent_expr): Declare it.
* call.c (null_ptr_cst_p): Use it.
* pt.c (tsubst_copy_and_build, build_non_dependent_expr): Likewise.
* semantics.c (begin_maybe_infinite_loop): Likewise.
* typeck.c (cp_build_binary_op): Likewise.
* typeck2.c (check_narrowing): Likewise.
* pt.c (fold_non_dependent_expr): Rename to
instantiate_non_dependent_expr.
(fold_non_dependent_expr_sfinae): Rename to
instantiate_non_dependent_expr_sfinae.
(convert_nontype_argument, build_non_dependent_expr): Adjust.
* decl.c (compute_array_index_type): Likewise.
* parser.c (cp_parser_parenthesized_expression_list,
cp_parser_enumerator_definition, cp_parser_omp_clause_collapse):
Likewise.
* semantics.c (end_maybe_infinite_loop, finish_static_assert):
Likewise.
* typeck.c (cxx_alignas_expr): Likewise.
* typeck2.c (store_init_value, massage_init_elt): Likewise.
* call.c: Adjust comments.
* class.c: Likewise.
* constexpr.c: Likewise.
* decl2.c: Likewise.
* tree.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217577 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ddef4ff68b2..5311649d12d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,41 @@ +2014-11-14 Paolo Carlini <paolo.carlini@oracle.com> + + * semantics.c (end_maybe_infinite_loop): Use fold_non_dependent_expr. + * parser.c (cp_parser_omp_clause_collapse): Likewise. + (cp_parser_enumerator_definition): Don't call + instantiate_non_dependent_expr... + * decl.c (build_enumerator): ... call fold_non_dependent_expr here. + * typeck2.c (massage_init_elt): Use fold_non_dependent_expr. + * constexpr.c (maybe_constant_value): Allow VIEW_CONVERT_EXPR in + the final gcc_assert. + + * constexpr.c (fold_non_dependent_expr): Add. + * cp-tree.h (fold_non_dependent_expr): Declare it. + * call.c (null_ptr_cst_p): Use it. + * pt.c (tsubst_copy_and_build, build_non_dependent_expr): Likewise. + * semantics.c (begin_maybe_infinite_loop): Likewise. + * typeck.c (cp_build_binary_op): Likewise. + * typeck2.c (check_narrowing): Likewise. + + * pt.c (fold_non_dependent_expr): Rename to + instantiate_non_dependent_expr. + (fold_non_dependent_expr_sfinae): Rename to + instantiate_non_dependent_expr_sfinae. + (convert_nontype_argument, build_non_dependent_expr): Adjust. + * decl.c (compute_array_index_type): Likewise. + * parser.c (cp_parser_parenthesized_expression_list, + cp_parser_enumerator_definition, cp_parser_omp_clause_collapse): + Likewise. + * semantics.c (end_maybe_infinite_loop, finish_static_assert): + Likewise. + * typeck.c (cxx_alignas_expr): Likewise. + * typeck2.c (store_init_value, massage_init_elt): Likewise. + * call.c: Adjust comments. + * class.c: Likewise. + * constexpr.c: Likewise. + * decl2.c: Likewise. + * tree.c: Likewise. + 2014-11-14 Jonathan Wakely <jwakely@redhat.com> * mangle.c (find_substitution): Look for abi_tag on class templates. |