[Bug middle-end/89288] ICE in tree_code_size, at tree.c:865
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 12 22:37:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89288
--- Comment #5 from Martin Sebor <msebor at gcc dot gnu.org> ---
Author: msebor
Date: Fri Apr 12 22:37:12 2019
New Revision: 270331
URL: https://gcc.gnu.org/viewcvs?rev=270331&root=gcc&view=rev
Log:
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 .
Modified:
trunk/gcc/c-family/c-attribs.c
More information about the Gcc-bugs
mailing list