OSDN Git Service

PR c/25309
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2006 19:59:57 +0000 (19:59 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Apr 2006 19:59:57 +0000 (19:59 +0000)
commit4aeeff51bbee421301ebf6fdd2002c2ef1b4723f
treea6a89ff234f97fde1db810e9fc1190006ae95009
parentdd1d62459f0e713eaf66234b2e9b75666d6afd62
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113355 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/large-size-array-2.c [new file with mode: 0644]