[Bug tree-optimization/97650] ICE: tree check: expected ssa_name, have addr_expr in vect_get_and_check_slp_defs, at tree-vect-slp.c:533 with "-Os -ftree-slp-vectorize -fallow-store-data-races"
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 2 10:03:43 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97650
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:a159081ad4259c42456bd3dc2b637747c373c5a5
commit r11-4602-ga159081ad4259c42456bd3dc2b637747c373c5a5
Author: Richard Biener <rguenther@suse.de>
Date: Mon Nov 2 08:59:02 2020 +0100
tree-optimization/97650 - fix ICE in vect_get_and_check_slp_defs
I was mistaken to treat vect_external_def as only applying to
SSA_NAME defs, so check for that.
2020-11-02 Richard Biener <rguenther@suse.de>
PR tree-optimization/97650
* tree-vect-slp.c (vect_get_and_check_slp_defs): Check
for SSA_NAME before checking SSA_NAME_IS_DEFAULT_DEF.
* gcc.dg/vect/bb-slp-pr97650.c: New testcase.
More information about the Gcc-bugs
mailing list