This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34917] [4.2/4.3 regression] ICE with const vector
- From: "cnstar9988 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jan 2008 06:01:51 -0000
- Subject: [Bug c++/34917] [4.2/4.3 regression] ICE with const vector
- References: <bug-34917-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from cnstar9988 at gmail dot com 2008-01-22 06:01 -------
Confirmed gcc 4.2.2.
test.cc
=====================================================
const int i __attribute((vector_size(8))) = {};
int main(int argc, char **argv)
{
return 0;
}
=====================================================
test.cc:1: internal compiler error: in start_decl, at cp/decl.c:4018
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34917