This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27385] [4.1/4.2 regression] ICE with invalid array initializer
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 May 2006 20:03:45 -0000
- Subject: [Bug c++/27385] [4.1/4.2 regression] ICE with invalid array initializer
- References: <bug-27385-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from mmitchel at gcc dot gnu dot org 2006-05-31 20:03 -------
Subject: Bug 27385
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=27385