Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/pr110964.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv -mabi=lp64d -mrvv-vector-bits=scalable -Ofast" } */
3
4 int *a;
5 long b, c;
6
7 int d ()
8 {
9 const int e;
10 for (; a < e; a++) /* { dg-warning "comparison between pointer and integer" } */
11 c += *a * b;
12 }
13