1 /* { dg-do compile } */
2 /* { dg-options "-O2 -funswitch-loops -fdump-tree-unswitch-details" } */
4 void foo (float **a
, float **b
, float *c
, int n
, int m
, int l
)
11 c
[i
] += a
[i
][k
] * b
[k
][j
];
14 /* { dg-final { scan-tree-dump-times "guard hoisted" 3 "unswitch" } } */
15 /* { dg-final { scan-tree-dump-not "Invalid sum" "unswitch" } } */