[NDS32] Add intrinsic functions for TLB operation and data prefech.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr34088.c
blob88a635d2d2035b6a83f4a55adf57a0e87041c379
1 /* PR middle-end/34088 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -Wall -Werror" } */
5 int F0 (int);
6 int F1 (int t) { return F0(t); }
7 int F2 (int t) { return F0(t); }
9 extern int X[];
10 static inline int foo(int i)
12 return X[i];
15 int bar(int* p)
17 int i;
19 while ( ({ if (foo(*p) && foo(*p)); p; }) );
21 return i; /* { dg-error "is used uninitialized" } */
24 /* { dg-message "warnings being treated as errors" "" {target "*-*-*"} 0 } */