Commit a change missed in r270326:
authorMartin Sebor <msebor@gcc.gnu.org>
Fri, 12 Apr 2019 22:37:12 +0000 (16:37 -0600)
committerMartin Sebor <msebor@gcc.gnu.org>
Fri, 12 Apr 2019 22:37:12 +0000 (16:37 -0600)
commit377c9e461130f54ebedb57441be0a0bc371226ef
tree0298d543394f85b968d025629efef1c28bf7cd83
parentd7e418a1d8664c7b1516e16fae65efe4802cd050
Commit a change missed in r270326:

gcc/c-family/ChangeLog:

PR c/88383
PR c/89288
PR c/89798
PR c/89797
* c-attribs.c (type_valid_for_vector_size): Detect excessively
large sizes.
(validate_attribute): Handle DECLs and expressions.
(has_attribute): Handle types referenced by expressions.
Avoid considering array attributes in ARRAY_REF expressions .

From-SVN: r270331
gcc/c-family/c-attribs.c