Let tree_single_nonzero_warnv_p use range information
[official-gcc.git] / gcc / testsuite / gcc.dg / attr-assume_aligned-2.c
blob9ab558945b374ffdf0bcc3c20576419229e96ade
1 /* { dg-do compile } */
3 int i;
4 void *f1 (void) __attribute__((assume_aligned (32)));
5 void *f2 (void) __attribute__((assume_aligned (16, 4)));
6 void *f3 (void) __attribute__((assume_aligned)); /* { dg-error "wrong number of arguments specified" } */
7 void *f4 (void) __attribute__((assume_aligned (32, 16, 8))); /* { dg-error "wrong number of arguments specified" } */
8 void *f5 (void) __attribute__((assume_aligned (i))); /* { dg-warning "integer constant" } */