This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/8564] [3.2 regression] ICE in find_function_data, at function.c:329
- From: "amylaar at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2005 19:24:30 -0000
- Subject: [Bug c++/8564] [3.2 regression] ICE in find_function_data, at function.c:329
- References: <20021113115600.8564.ron@vaniwaarden.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From amylaar at gcc dot gnu dot org 2005-03-21 19:24 -------
(In reply to comment #7)
> * init.c ...
> (build_new_1): ... Use an incomplete array type for full_type.
This change has caused PR c++/20427.
The following variant of the reduced testcase also changed from ICE to wrong-code:
struct A { static char* p; };
int i = 1;
char* A::p = new char[i] ();
void foo() {}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8564