re PR c++/44175 ([C++0x] decltype sometimes cannot recurse)
authorJason Merrill <jason@redhat.com>
Wed, 1 Jun 2011 20:27:22 +0000 (16:27 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 1 Jun 2011 20:27:22 +0000 (16:27 -0400)
commit4324a55c06f5e18cbcf6b1a1180435187cfd9876
tree8141a2826217dc73bcc5e04518dc3fe160a33565
parent4ee3537a6debc659c724e3fa04a7f704bc11ea80
re PR c++/44175 ([C++0x] decltype sometimes cannot recurse)

PR c++/44175
* pt.c (template_args_equal): Handle one arg being NULL_TREE.
(deduction_tsubst_fntype): Handle excessive non-infinite recursion.

From-SVN: r174543
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype28.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp0x/decltype29.C [new file with mode: 0644]