]> git.ipfire.org Git - thirdparty/gcc.git/commit
scan generic vector tests before lowering
authorRichard Biener <rguenther@suse.de>
Wed, 29 Mar 2023 08:45:14 +0000 (10:45 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 29 Mar 2023 08:47:32 +0000 (10:47 +0200)
commitad32fcb8e91ba85cb4676c6249b6adc4b0daf9df
tree831c8a17415ac61911695d0581495202912ea924
parent7fd1d28d2436065da7fc0fe01d787fcdf3c14b83
scan generic vector tests before lowering

The g++.dg/pr94920.C testcase looks for a specific number of
ABS_EXPRs but the vector example is prone to vector lowering so
the following instead of scanning the optimized dump scans the
forwprop1 dump which is before vector lowering and the point the
transforms should have happened.

* g++.dg/pr94920.C: Scan forwprop1 instead of optimized.
gcc/testsuite/g++.dg/pr94920.C