Avoid &LOOP_VINFO_MASKS for bb vectorisation (PR 86618)
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 24 Jul 2018 18:08:19 +0000 (18:08 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 24 Jul 2018 18:08:19 +0000 (18:08 +0000)
commited623edb473d862673fc0bbc6b878074667ca5fb
treeea854ac72c9d4e8f51ba791c9a0093ae01397dca
parentdad2580c8349b4fc465a695f2e251548861f8c31
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.

From-SVN: r262951
gcc/ChangeLog
gcc/tree-vect-stmts.c