------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-05-31 20:03 ------- Subject: Bug 26496
Author: mmitchel Date: Wed May 31 20:03:27 2006 New Revision: 114279 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114279 Log: PR c++/27801 * call.c (perform_implicit_conversion): Do not actually perform conversions in templates. PR c++/26496 * call.c (resolve_args): Check for invalid uses of bound non-static member functions. * init.c (build_offset_ref): Return error_mark_node for errors. PR c++/27385 * decl.c (reshape_init): Robustify. (reshape_init_array_1): Likewise. PR c++/27801 * g++.dg/template/cond6.C: New test. PR c++/26496 * g++.dg/template/crash51.C: New test. * g++.old-deja/g++.mike/net36.C: Tweak error markers. PR c++/27385 * g++.dg/init/array20.C: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/g++.dg/init/array20.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/cond6.C branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash51.C Modified: branches/gcc-4_1-branch/gcc/cp/call.c branches/gcc-4_1-branch/gcc/cp/decl.c branches/gcc-4_1-branch/gcc/cp/init.c branches/gcc-4_1-branch/gcc/testsuite/g++.old-deja/g++.mike/net36.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26496