[Bug c++/25364] [4.0/4.1/4.2 Regression] ICE with function pointer as template parameter

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Dec 22 20:02:00 GMT 2005



------- Comment #12 from mmitchel at gcc dot gnu dot org  2005-12-22 20:02 -------
Subject: Bug 25364

Author: mmitchel
Date: Thu Dec 22 20:02:21 2005
New Revision: 108972

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108972
Log:
        PR c++/25364
        * semantics.c (finish_qualified_id_expr): Call mark_used.
        (finish_id_expression): Likewise.

        PR c++/25364
        * g++.dg/template/call4.C: New test.

Added:
    branches/gcc-4_0-branch/gcc/testsuite/g++.dg/template/call4.C
Modified:
    branches/gcc-4_0-branch/gcc/cp/ChangeLog
    branches/gcc-4_0-branch/gcc/cp/semantics.c
    branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list