[Bug middle-end/59037] ICE when accessing invalid element (nelts + 1) of vector

2013-11-07 Thread jgreenhalgh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59037 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/59037] ICE when accessing invalid element (nelts + 1) of vector

2013-11-07 Thread matthew.leach at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59037 --- Comment #1 from Matthew Leach --- Having a quick dig around the code, I think fold-const.c:16718 looks suspicious: if (offset/part_widthi <= TYPE_VECTOR_SUBPARTS (op00type)) Likewise in cp/semantics.c:9122 and gimple-fold.c:3407. Should thi