This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r113355 - in /trunk/gcc: ChangeLog c-typeck.c t...
- From: sayle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 28 Apr 2006 19:59:58 -0000
- Subject: r113355 - in /trunk/gcc: ChangeLog c-typeck.c t...
Author: sayle
Date: Fri Apr 28 19:59:57 2006
New Revision: 113355
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113355
Log:
PR c/25309
* c-typeck.c (struct spelling): Make I an unsigned HOST_WIDE_INT.
(push_array_bounds): Delete prototype. Change BOUNDS argument to
an unsigned HOST_WIDE_INT.
(print_spelling): Use HOST_WIDE_INT_PRINT_UNSIGNED to output the
array index.
(really_start_incremental_init): No need to call convert because
bitsize_zero_node is already of type bitsizetype.
(push_init_level): Extract the value of constructor_index as an
unsigned HOST_WIDE_INT quantity, using tree_low_cst.
(process_init_element): Likewise.
* gcc.dg/large-size-array-2.c: New test case.
Added:
trunk/gcc/testsuite/gcc.dg/large-size-array-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/c-typeck.c
trunk/gcc/testsuite/ChangeLog