[Bug c++/24138] [4.1/4.2 regression] ICE with the code in PR 20407
aldyh at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 6 19:45:00 GMT 2005
------- Comment #6 from aldyh at gcc dot gnu dot org 2005-12-06 19:45 -------
Subject: Bug 24138
Author: aldyh
Date: Tue Dec 6 19:45:00 2005
New Revision: 108126
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=108126
Log:
PR C++/24138
* tree.c (integer_all_onesp): Always return true if all bits on.
* cp/decl.c (reshape_init_array_1): Handle max_index of -1.
* testsuite/g++.dg/init/array0.C: New.
Added:
trunk/gcc/testsuite/g++.dg/init/array0.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/tree.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24138
More information about the Gcc-bugs
mailing list