]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/37439 (ICE using auto return-type in template function)
authorJason Merrill <jason@redhat.com>
Tue, 9 Sep 2008 21:41:58 +0000 (17:41 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 9 Sep 2008 21:41:58 +0000 (17:41 -0400)
commit18802917af53a9423fe496aa68cf6c2aa67f8ca9
treec9d38611b6899084054743883bcdac7c4b2b8b22
parent07ebe945c734b0c9c4bee05ca6186c7e052e3a4e
re PR c++/37439 (ICE using auto return-type in template function)

        PR c++/37439
        * pt.c (tsubst_copy) [PARM_DECL]: Don't abort if the parm has
        DECL_CONTEXT set.

From-SVN: r140176
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/cpp0x/auto6.C