OSDN Git Service

PR c++/42137
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 3f28a94..72d7832 100644 (file)
@@ -1,3 +1,24 @@
+2009-11-24  Jason Merrill  <jason@redhat.com>
+
+       PR c++/42137
+       * parser.c (cp_parser_mem_initializer_id): Pass typename_type to
+       cp_parser_class_name.
+       (cp_parser_unqualified_id): Same, rather than class_type.
+
+       PR c++/11764
+       * parser.c (cp_parser_expression_statement): Give helpful error
+       for constructor name used as type.
+
+       * pt.c (determine_specialization): Give helpful error about missing
+       "template<>".
+
+2009-11-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/42095
+       * tree.c: Include cgraph.h.
+       (cp_fix_function_decl_p): Don't return true for same_body aliases.
+       * Make-lang.in (cp/tree.o): Depend on $(CGRAPH_H).
+
 2009-11-23  Dodji Seketeli  <dodji@redhat.com>
 
        PR c++/14777