diff options
author | Richard Biener <rguenther@suse.de> | 2023-08-18 09:41:56 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-08-18 10:23:47 +0200 |
commit | f5f47cc1ce75b00427756939a2dab94d3d125f6a (patch) | |
tree | 6439af120281d1983d60d5942c6298a9b28e1f59 /gcc/tree-if-conv.h | |
parent | 68f7cb6cf9e8b9f2254855507f3b479552adda5f (diff) | |
download | gcc-f5f47cc1ce75b00427756939a2dab94d3d125f6a.zip gcc-f5f47cc1ce75b00427756939a2dab94d3d125f6a.tar.gz gcc-f5f47cc1ce75b00427756939a2dab94d3d125f6a.tar.bz2 |
tree-optimization/111048 - avoid flawed logic in fold_vec_perm
The following avoids running into somehow flawed logic in fold_vec_perm
for non-VLA vectors.
PR tree-optimization/111048
* fold-const.cc (fold_vec_perm_cst): Check for non-VLA
vectors first.
* gcc.dg/torture/pr111048.c: New testcase.
Diffstat (limited to 'gcc/tree-if-conv.h')
0 files changed, 0 insertions, 0 deletions