middle-end/98974 - fixup after STMT_VINFO_VEC_STMTS rework
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Mon, 8 Feb 2021 16:04:18 +0000 (16:04 +0000)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Mon, 8 Feb 2021 16:04:18 +0000 (16:04 +0000)
commit40c92180df970143249f3cd5056f8fb48a4d9333
treea2f3d7dcd417e97c6324621231f1f2cd2f1a4998
parentd4536e431316b4568e236afd7a6017e5efd1b0a1
middle-end/98974 - fixup after STMT_VINFO_VEC_STMTS rework

This fixes up the nvectors parameter passed to vect_get_loop_mask in
vectorizable_condition after the STMT_VINFO_VEC_STMTS rework.

gcc/ChangeLog:
2021-02-08  Andre Vieira  <andre.simoesdiasvieira@arm.com>

PR middle-end/98974
* tree-vect-stmts.c (vectorizable_condition): Remove shadow vec_num
parameter in vectorizable_condition.

gcc/testsuite/ChangeLog:
2021-02-08  Andre Vieira  <andre.simoesdiasvieira@arm.com>

PR middle-end/98974
* gfortran.dg/pr98974.F90: New test.
gcc/testsuite/gfortran.dg/pr98974.F90 [new file with mode: 0644]
gcc/tree-vect-stmts.c