On Thu, 10 Dec 2020, Joel Hutton wrote: > Hi all, > > This patch addresses PR97929 by adding a missing case for WIDEN_PLUS/MINUS in > vect_get_smallest_scalar_type. It also introduces a test to check for > regression. > > One thing to note is that I saw a failure on c-c++-common/builtins.c which > disappeared when I ran the test again. I assume this is due to the test being > unreliable. > > Bootstrapped and regression tested all together. > > Ok for trunk?
OK. Thanks, Richard. > [VECT] pr97929 fix > > This addresses pr97929. The case for WIDEN_PLUS and WIDEN_MINUS were > missing in vect_get_smallest_scalar_type. > > gcc/ChangeLog: > > PR tree-optimization/97929 > * tree-vect-data-refs.c (vect_get_smallest_scalar_type): Add > WIDEN_PLUS/WIDEN_MINUS case. > > gcc/testsuite/ChangeLog: > > * gcc.dg/vect/pr97929.c: New test. -- Richard Biener <rguent...@suse.de> SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany; GF: Felix Imendörffer; HRB 36809 (AG Nuernberg)