diff options
author | Dorit Nuzman <dorit@il.ibm.com> | 2006-01-29 16:50:05 +0000 |
---|---|---|
committer | Dorit Nuzman <dorit@gcc.gnu.org> | 2006-01-29 16:50:05 +0000 |
commit | b31305861ad77328af5fde14aae0a970e8cebb1b (patch) | |
tree | 18f25807d04bcac94fbcb9315db276a1065e2a80 /gcc/testsuite/gcc.dg | |
parent | a920e94a9e87d680206d24e1a38902f3c5536c29 (diff) | |
download | gcc-b31305861ad77328af5fde14aae0a970e8cebb1b.zip gcc-b31305861ad77328af5fde14aae0a970e8cebb1b.tar.gz gcc-b31305861ad77328af5fde14aae0a970e8cebb1b.tar.bz2 |
re PR tree-optimization/25911 (ice in vect_recog_dot_prod_pattern)
PR tree-opt/25911
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Change assert
to an if check.
From-SVN: r110377
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/fast-math-vect-pr25911.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/fast-math-vect-pr25911.c b/gcc/testsuite/gcc.dg/vect/fast-math-vect-pr25911.c new file mode 100644 index 0000000..633382f --- /dev/null +++ b/gcc/testsuite/gcc.dg/vect/fast-math-vect-pr25911.c @@ -0,0 +1,15 @@ +/* { dg-do compile } */ + +float bessel_Kn_scaled_small_x(int n) +{ + int k; + float k_term, sum1; + for(k=1; k<=n-1; k++) + { + k_term *= -1/(k * (n-k)); + sum1 += k_term; + } + return sum1; +} + +/* { dg-final { cleanup-tree-dump "vect" } } */ |