Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/s390/zvector/vec-overloading-4.c @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* Check for error messages supposed to be issued during builtin expansion. */ /* { dg-do compile { target { s390*-*-* } } } */ /* { dg-options "-march=z13 -mzarch -mzvector" } */ __vector int v4si; __vector unsigned uv4si; int *intptr; unsigned long long ull; const unsigned int *ucintptr; void foo () { /* A backend check makes sure the forth operand is a literal. */ __builtin_s390_vec_scatter_element (v4si, uv4si, intptr, ull); /* { dg-error "constant value required for builtin" } */ }