[Bug c/79116] ICE on cilkplus array notation with a _Cilk_for
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jan 17 13:19:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79116
Aldy Hernandez <aldyh at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-01-17
Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
The problem here is that the parser builds an ARRAY_NOTATION_REF with a type of
ptrdiff for length and stride. Later in cilkplus_extract_an_triplets we
convert convert length and stride to an integer_type_node. This causes
create_array_refs() to use a stride of integer_type, while the start is still a
ptrdiff.
More information about the Gcc-bugs
mailing list