[Bug c++/37540] [4.4 regression] ICE on __decltype of method call in function template

jason at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Nov 20 18:43:00 GMT 2008



------- Comment #8 from jason at gcc dot gnu dot org  2008-11-20 18:42 -------
Subject: Bug 37540

Author: jason
Date: Thu Nov 20 18:40:52 2008
New Revision: 142054

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142054
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/decltype14.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37540



More information about the Gcc-bugs mailing list