Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/tree-ssa/ifc-cd.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* { dg-do compile } */ | 1 /* { dg-do compile } */ |
2 /* { dg-options "-O3 -fdump-tree-ifcvt-details-blocks-details -ftree-loop-if-convert-stores" } */ | 2 /* { dg-options "-O3 -fdump-tree-ifcvt-details-blocks-details" } */ |
3 | 3 |
4 void foo (int *x1, int *x2, int *x3, int *x4, int *y) | 4 void foo (int *x1, int *x2, int *x3, int *x4, int *y) |
5 { | 5 { |
6 int i; | 6 int i; |
7 int a1, a2, a3, b1, b2; | 7 int a1, a2, a3, b1, b2; |
30 /* We insert into code | 30 /* We insert into code |
31 if (LOOP_VECTORIZED (...)) | 31 if (LOOP_VECTORIZED (...)) |
32 which is folded by vectorizer. Both outgoing edges must have probability | 32 which is folded by vectorizer. Both outgoing edges must have probability |
33 100% so the resulting profile match after folding. */ | 33 100% so the resulting profile match after folding. */ |
34 /* { dg-final { scan-tree-dump-times "Invalid sum of outgoing probabilities 200.0" 1 "ifcvt" } } */ | 34 /* { dg-final { scan-tree-dump-times "Invalid sum of outgoing probabilities 200.0" 1 "ifcvt" } } */ |
35 /* Sum is wrong here, but not enough for error to be reported. */ | 35 /* { dg-final { scan-tree-dump-times "Invalid sum of incoming counts" 1 "ifcvt" } } */ |
36 /* { dg-final { scan-tree-dump-times "Invalid sum of incoming frequencies" 0 "ifcvt" } } */ |