diff options
Diffstat (limited to 'gcc/cp/ChangeLog')
-rw-r--r-- | gcc/cp/ChangeLog | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index dc510ab4728..edb45f4df10 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,117 @@ +2012-11-24 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/55446 + * init.c (build_vec_init): Do not early return error_mark_mode + when integer_all_onesp (maxindex). + +2012-11-23 Jakub Jelinek <jakub@redhat.com> + + PR c++/54046 + * cp-objcp-common.h (LANG_HOOKS_BLOCK_MAY_FALLTHRU): Redefine. + * cp-objcp-common.c (cxx_block_may_fallthru): New function. + * cp-tree.h (cxx_block_may_fallthru): New prototype. + +2012-11-23 Markus Trippelsdorf <markus@trippelsdorf.de> + + PR c++/55418 + * method.c (implicitly_declare_fn): Properly initialize trivial_p. + +2012-11-22 Jason Merrill <jason@redhat.com> + + PR c++/55137 + * semantics.c (verify_constant): Track overflow separately. + (reduced_constant_expression_p): Don't check it here. + (cxx_eval_constant_expression): Check it on CSTs. + (cxx_eval_outermost_constant_expr): Treat overflows as non-constant + at this point, but still return the folded version. + (potential_constant_expression_1): Don't check overflow. + + * call.c (extend_ref_init_temps_1): Recompute TREE_CONSTANT for + the ADDR_EXPR. + +2012-11-20 Diego Novillo <dnovillo@google.com> + Jakub Jelinek <jakub@redhat.com> + + * name-lookup.c: Replace all vec<T, A>() initializers + with vNULL. + * semantics.c: Likewise. + +2012-11-19 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/55368 + * parser.c (cp_parser_member_declaration): Emit an error in case + of stray comma at end of member declaration. + +2012-11-19 Jason Merrill <jason@redhat.com> + + * class.c (one_inheriting_sig): Don't inherit base copy ctors. + + PR c++/55262 + * method.c (implicitly_declare_fn): Set DECL_PARM_INDEX on + the parms of an inheriting ctor. + + PR c++/55261 + * class.c (add_implicitly_declared_members): Use + lookup_fnfields_slot to get the base constructors. + +2012-11-19 Jakub Jelinek <jakub@redhat.com> + + PR middle-end/54630 + * class.c (fixed_type_or_null_ref_ht): New variable. + (fixed_type_or_null): Use it instead of local static ht. + +2012-11-17 Diego Novillo <dnovillo@google.com> + + Adjust for new vec API (http://gcc.gnu.org/wiki/cxx-conversion/cxx-vec) + + * Make-lang.in: Remove dependencies on vecir.h and vecprim.h everywhere. + * call.c: Use new vec API in vec.h. + * class.c: Likewise. + * cp-gimplify.c: Likewise. + * cp-tree.h: Likewise. + * cvt.c: Likewise. + * decl.c: Likewise. + * decl2.c: Likewise. + * error.c: Likewise. + * except.c: Likewise. + * init.c: Likewise. + * mangle.c: Likewise. + * method.c: Likewise. + * name-lookup.c: Likewise. + * name-lookup.h: Likewise. + * parser.c: Likewise. + * parser.h: Likewise. + * pt.c: Likewise. + * repo.c: Likewise. + * rtti.c: Likewise. + * search.c: Likewise. + * semantics.c: Likewise. + * tree.c: Likewise. + * typeck.c: Likewise. + * typeck2.c: Likewise. + +2012-11-17 Gabriel Dos Reis <gdr@integrable-solutions.net> + + * semantics.c (finish_id_expression): Tidy diagnostic message. + +2012-11-16 Dodji Seketeli <dodji@redhat.com> + + PR c++/54875 + * pt.c (lookup_template_class_1): Look at the type of the + potential member enum of class template to determine if we are + actually substituting into a member enum of class template. + +2012-11-16 Jakub Jelinek <jakub@redhat.com> + + PR c++/55337 + * tree.c (cp_tree_equal) <case ALIGNOF_EXPR>: Use SIZEOF_EXPR_TYPE_P + only on SIZEOF_EXPR. + 2012-11-14 Jason Merrill <jason@redhat.com> + PR c++/54903 + * decl2.c (mark_used): Don't complain about auto in templates. + PR c++/37276 * decl.c (decls_match): Remove #ifdef around earlier fix. |