[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:08:00 GMT 2005
------- Comment #13 from mmitchel at gcc dot gnu dot org 2005-12-22 20:08 -------
Subject: Bug 25364
Author: mmitchel
Date: Thu Dec 22 20:08:39 2005
New Revision: 108973
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108973
Log:
PR c++/25364
* typeck.c (build_unary_op): Pass DECLs not names to
build_offset_refs.
* init.c (build_offset_ref): Do not do name lookup. Do not call
mark_used.
* call.c (build_call): Simplify and tidy.
* semantics.c (finish_qualified_id_expr): Call mark_used.
PR c++/25364
* g++.dg/template/call4.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/template/call4.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/init.c
trunk/gcc/cp/semantics.c
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25364
More information about the Gcc-bugs
mailing list