bootstrap/97666 - fix array of bool allocation
authorRichard Biener <rguenther@suse.de>
Tue, 3 Nov 2020 11:06:19 +0000 (12:06 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 3 Nov 2020 12:33:37 +0000 (13:33 +0100)
commit9d1b813d0f7c9a8d80b0aee6eb1418b0afdf0f84
tree2c135d9006e59cfc78008dabbeaef02196ab022b
parentac6affba97130bcbffb21bd9f8ca53c7aac89551
bootstrap/97666 - fix array of bool allocation

This fixes the bad assumption that sizeof (bool) == 1

2020-11-03  Richard Biener  <rguenther@suse.de>

PR bootstrap/97666
* tree-vect-slp.c (vect_build_slp_tree_2): Scale
allocation of skip_args by sizeof (bool).
gcc/tree-vect-slp.c