Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/attr-assume_aligned-2.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 /* { dg-do compile } */ |
2 | |
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" } */ |