diff options
author | Jeffrey A Law <law@cygnus.com> | 1997-08-29 22:14:07 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-08-29 16:14:07 -0600 |
commit | 63e7fe9ba41df48e63a3a837a340f2e872421d4e (patch) | |
tree | 7d9d57ce58d730a09cfd1ea2569dc58950c18cba /gcc/c-decl.c | |
parent | eb7b11fd0742ac1377e3b6338feec6fc2e64200e (diff) | |
download | gcc-63e7fe9ba41df48e63a3a837a340f2e872421d4e.zip gcc-63e7fe9ba41df48e63a3a837a340f2e872421d4e.tar.gz gcc-63e7fe9ba41df48e63a3a837a340f2e872421d4e.tar.bz2 |
pa.md (reload_peepholes): Make sure operand is a REG before examining REGNO.
* pa.md (reload_peepholes): Make sure operand is a REG before
examining REGNO. Allow general registers too.
Fixes sporatic c-torture failure.
Remove last change to fold-const.c and c-decl.c
From-SVN: r15000
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 316ada7..b556d08 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -4672,18 +4672,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) convert (index_type, size), convert (index_type, size_one_node))); - /* If that overflowed, the array is too big. - ??? While a size of INT_MAX+1 technically shouldn't cause - an overflow (because we subtract 1), the overflow is recorded - during the conversion to index_type, before the subtraction. - Handling this case seems like an unnecessary complication. */ - if (TREE_OVERFLOW (itype)) - { - error ("size of array `%s' is too large", name); - type = error_mark_node; - continue; - } - if (size_varies) itype = variable_size (itype); itype = build_index_type (itype); @@ -4859,13 +4847,6 @@ grokdeclarator (declarator, declspecs, decl_context, initialized) /* Now TYPE has the actual type. */ - /* Did array size calculations overflow? */ - - if (TREE_CODE (type) == ARRAY_TYPE - && TYPE_SIZE (type) - && TREE_OVERFLOW (TYPE_SIZE (type))) - error ("size of array `%s' is too large", name); - /* If this is declaring a typedef name, return a TYPE_DECL. */ if (specbits & (1 << (int) RID_TYPEDEF)) |