Avoid &LOOP_VINFO_MASKS for bb vectorisation (PR 86618)
commit495105e3c623b59bc52a536d2fa29763e0286803
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2018 18:08:19 +0000 (24 18:08 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2018 18:08:19 +0000 (24 18:08 +0000)
treeea854ac72c9d4e8f51ba791c9a0093ae01397dca
parente4aaf333ac8fc79edeaac2fd4812c8d1d4f548b4
Avoid &LOOP_VINFO_MASKS for bb vectorisation (PR 86618)

r262589 introduced another instance of the bug fixed in r258131.

2018-07-23  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
PR tree-optimization/86618
* tree-vect-stmts.c (vectorizable_call): Don't take the address
of LOOP_VINFO_MASKS (loop_vinfo) when loop_vinfo is null.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262951 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-vect-stmts.c