OSDN Git Service

Fix PR c++/42251
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index 6753829..19e751d 100644 (file)
@@ -1,3 +1,47 @@
+2009-12-11  Dodji Seketeli  <dodji@redhat.com>
+
+       PR c++/42251
+       * pt.c (convert_template_argument): Avoid missing folding of SCOPE_REFs.
+
+2009-12-10  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/42317
+       * decl2.c (cp_write_global_declarations): Clear DECL_EXTERNAL
+       also on all other functions in the same comdat group.
+       * optimize.c (maybe_clone_body): Also optimize virtual implicit
+       dtors.  For virtual comdat dtors tell cgraph that base and deleting
+       dtor are in the same comdat group.
+
+2009-12-04  Jason Merrill  <jason@redhat.com>
+
+       PR c++/42010
+       * cp-tree.h (DECL_DISCRIMINATOR_SET_P): New.
+       * mangle.c (discriminator_for_local_entity): Check it.
+
+       PR c++/42277
+       * semantics.c (finish_decltype_type): Defer handling of decltype
+       of a non-dependent COMPONENT_REF in a template.
+
+2009-12-04  Dodji Seketeli  <dodji@redhat.com>
+
+       PR c++/42218
+       * cxx-pretty-print.c (pp_cxx_unqualified_id): Print only innermost
+       template arguments.
+
+2009-12-03  Jason Merrill  <jason@redhat.com>
+
+       PR c++/41611
+       * decl2.c (get_guard): Don't use the same comdat group as the decl.
+
+       PR c++/42266
+       * cvt.c (convert_from_reference): Do nothing if TREE_TYPE is null.
+
+2009-12-03  Dodji Seketeli  <dodji@redhat.com>
+
+       PR c++/42217
+       * class.c (remove_zero_width_bit_fields): The width of the bit field is
+       in DECL_SIZE, not in DECL_INITIAL.
+
 2009-12-03  Jakub Jelinek  <jakub@redhat.com>
 
        PR c++/42256