This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
- From: "aldyh at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2005 11:37:56 -0000
- Subject: [Bug c++/24138] [4.1 regression] ICE with the code in PR 20407
- References: <bug-24138-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from aldyh at gcc dot gnu dot org 2005-12-07 11:37 -------
Subject: Bug 24138
Author: aldyh
Date: Wed Dec 7 11:37:53 2005
New Revision: 108157
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108157
Log:
PR C++/24138
* tree.c (integer_all_onesp): Always return true if all bits on.
* testsuite/g++.dg/init/array0.C: New.
* decl.c (reshape_init_array_1): Handle max_index of -1.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/init/array0.C
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/decl.c
branches/gcc-4_1-branch/gcc/tree.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24138