OSDN Git Service

PR c++/43281
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Mar 2010 20:38:46 +0000 (20:38 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:32:47 +0000 (09:32 +0900)
* pt.c (contains_auto_r): New fn.
(do_auto_deduction): Use it.
(tsubst): Don't look at TREE_TYPE of a TEMPLATE_TYPE_PARM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157651 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/testsuite/ChangeLog

index 5474df9..fd08a54 100644 (file)
@@ -1,3 +1,10 @@
+2010-03-22  Jason Merrill  <jason@redhat.com>
+
+       PR c++/43281
+       * pt.c (contains_auto_r): New fn.
+       (do_auto_deduction): Use it.
+       (tsubst): Don't look at TREE_TYPE of a TEMPLATE_TYPE_PARM.
+
 2010-03-20  Simon Martin  <simartin@users.sourceforge.net>
 
        PR c++/43081:
index 25cc5b9..99f6747 100644 (file)
@@ -1,5 +1,8 @@
 2010-03-22  Jason Merrill  <jason@redhat.com>
 
+       PR c++/43281
+       * g++.dg/cpp0x/auto18.C: New.
+
        * gcc.dg/pr36997.c: Adjust error message.
        * g++.dg/ext/vector9.C: Likewise.
        * g++.dg/conversion/simd3.C: Likewise.