Debian Codegraph @

gcc/testsuite/gcc.target/nvptx/alloca-1-dead-O0-sm_30.c

raw
1 /* { dg-do compile } */
2 /* { dg-options {-O0 -mno-soft-stack} } */
3 /* { dg-additional-options -march=sm_30 } */
4
5 void f(void)
6 {
7 char *a = __builtin_alloca(123);
8 /* { dg-message {sorry, unimplemented: dynamic stack allocation not supported} {} { target *-*-* } .-1 } */
9 a[0] = 0;
10 }