OSDN Git Service

gcc/cp/
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 77c195a..6fcd92a 100644 (file)
@@ -1,5 +1,61 @@
+2009-03-27  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+
+       PR c++/38638
+       * parser.c (cp_parser_elaborated_type_specifier): If we have a
+       typename tag and don't have either a TYPE_DECL or a
+       TEMPLATE_ID_EXPR, set the type to NULL.
+
+2009-03-27  Simon Martin  <simartin@users.sourceforge.net>
+
+       PR c++/37647
+       * decl.c (grokdeclarator): Reject [con|de]stuctors in a non-class
+       scope.
+
+2009-03-27  Simon Martin  <simartin@users.sourceforge.net>
+
+       PR c++/29727
+       * decl.c (check_array_designated_initializer): Handle error_mark_node.
+
+2009-03-27  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       PR c++/35652
+       * typeck.c (cp_pointer_sum): Adjust call to pointer_int_sum.
+
+2009-03-26  Andrew Haley  <aph@redhat.com>
+
+       PR C++/39380
+       * decl2.c (possibly_inlined_p): If java exceptions are in use
+       don't inline a decl unless it is explicitly marked inline.
+       * lex.c: (pragma_java_exceptions): New variable.
+       (handle_pragma_java_exceptions): Set pragma_java_exceptions.
+       * cp-tree.h (pragma_java_exceptions): Declare new variable.
+
+2009-03-24  Jason Merrill  <jason@redhat.com>
+
+       PR c++/28274
+       * name-lookup.c (pushdecl_maybe_friend): Check default args later.
+
+2009-03-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/39495
+       * semantics.c (handle_omp_for_class_iterator): Swap cond operands and
+       code if iter is the second operand.
+       * parser.c (cp_parser_binary_expression): Add no_toplevel_fold_p
+       argument.  If it is set, don't build the toplevel expression with
+       build_x_binary_op, but build2.
+       (cp_parser_assignment_expression,  cp_parser_omp_for_incr): Adjust
+       callers.
+       (cp_parser_omp_for_cond): Don't assume the first operand of the
+       comparison must be decl.
+
 2009-03-23  Jason Merrill  <jason@redhat.com>
 
+       PR c++/37729
+       * pt.c (make_fnparm_pack): Split out from...
+       (instantiate_decl): ...here.
+       (tsubst_pack_expansion): Handle being called in a late-specified
+       return type.
+
        PR c++/39526
        * name-lookup.c (pushdecl_maybe_friend): Don't warn about shadowing
        a parm with a parm.