5ffa9d0a JH |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O2 -fdump-tree-optimized-details-blocks" } */ |
3 | void |
4 | test (int *a, int *b, int n) |
5 | { |
6 | for (int i = 0; i < n; i++) |
7 | a[i]+=b[i]; |
8 | } |
9 | /* { dg-final { scan-tree-dump-not "Invalid sum" "optimized"} } */ |