[Bug tree-optimization/84634] [8 Regression] gcc/tree-vect-stmts.c:6786:19: runtime error: member access within null pointer of type 'struct _loop_vec_info
rsandifo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 2 09:47:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84634
--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
Author: rsandifo
Date: Fri Mar 2 09:46:43 2018
New Revision: 258131
URL: https://gcc.gnu.org/viewcvs?rev=258131&root=gcc&view=rev
Log:
Avoid &LOOP_VINFO_MASKS for bb vectorisation (PR 84634)
We were computing &LOOP_VINFO_MASKS even for bb vectorisation,
which is UB.
2018-03-02 Richard Sandiford <richard.sandiford@linaro.org>
gcc/
PR tree-optimization/84634
* tree-vect-stmts.c (vectorizable_store, vectorizable_load): Replace
masks and masked_loop_p with a single loop_masks, making sure it's
null for bb vectorization.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-vect-stmts.c
More information about the Gcc-bugs
mailing list