]> git.ipfire.org Git - thirdparty/gcc.git/commit
expr.c (store_constructor): Allow variable bounds of array type.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Wed, 30 Aug 2000 02:00:55 +0000 (02:00 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 30 Aug 2000 02:00:55 +0000 (22:00 -0400)
commit85f3d674d453d980199d404c188b217dcc6ee9c1
tree93a77b8da110b5aa2e972ff4785ebafed42b4547
parent5b67ad6f4566834f8c0ffb253769727307bf0a11
expr.c (store_constructor): Allow variable bounds of array type.

* expr.c (store_constructor): Allow variable bounds of array type.
(expand_expr): Don't blow up if type is ERROR_MARK.
* varasm.c (output_constructor): Don't access lower bound of array
type unless need it if index is supplied (so it can be a variable
if no index is supplied).
Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
Other minor cleanups.

From-SVN: r36060
gcc/ChangeLog
gcc/expr.c
gcc/varasm.c