re PR c++/37540 (ICE on __decltype of method call in function template)
authorJason Merrill <jason@gcc.gnu.org>
Thu, 20 Nov 2008 18:40:52 +0000 (13:40 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 20 Nov 2008 18:40:52 +0000 (13:40 -0500)
commitc7962e7d5dc3ccbbd1a0454eab655e50a7e78049
treecc8c1f53289edaf65ceafe1ed81a4ce5b237f004
parent19523300a00967225f9d377b241c8442aa261792
re PR c++/37540 (ICE on __decltype of method call in function template)

        PR c++/37540
        * call.c (build_over_call): Take the address of the function even
        in a template.
        (build_new_method_call): Remember the type of the called function
        in a template.

From-SVN: r142054
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/decltype14.C [new file with mode: 0644]