Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git] / gcc / testsuite / gcc.dg / pr102385.c
blobbdccc9e43b143751897d387030d3589d446e5bec
1 /* { dg-options "-Wall -Wextra -O2 -fno-toplevel-reorder -fno-tree-ch -fno-tree-dce -fno-tree-dominator-opts -fno-tree-dse -fno-tree-loop-ivcanon -fpredictive-commoning -fdump-tree-pcom-details-blocks -fdump-tree-lim-details-blocks" } */
3 short a, b;
4 int c[9];
5 void(d)() {}
6 void e() {
7 a = 0;
8 for (; a <= 4; a++) {
9 short *f = &b;
10 c[a] || (*f = 0);
11 d(c[a + 2]);
14 int main() {return 0;}
15 /* { dg-final { scan-tree-dump-not "Invalid sum" "pcom" } } */
16 /* { dg-final { scan-tree-dump-not "Invalid sum" "lim2" } } */