OSDN Git Service

* call.c (struct z_candidate): Add explicit_targs field.
[pf3gnuchains/gcc-fork.git] / gcc / cp / ChangeLog
index f06c6cd..f6515f7 100644 (file)
@@ -1,5 +1,13 @@
 2010-05-17  Jason Merrill  <jason@redhat.com>
 
+       * call.c (struct z_candidate): Add explicit_targs field.
+       (add_template_candidate_real): Set it.
+       (build_over_call): Use it to control init-list warning.
+
+       PR c++/44157
+       * call.c (build_over_call): Limit init-list deduction warning to
+       cases where the argument is actually an init-list.
+
        PR c++/44158
        * call.c (build_over_call): Don't do bitwise copy for move ctor.