| 1 |
/* { dg-do assemble } */ |
| 2 |
/* { dg-options {-O0 -mno-soft-stack} } */ |
| 3 |
/* { dg-additional-options -march=sm_30 } */ |
| 4 |
/* { dg-additional-options -save-temps } */ |
| 5 |
/* { dg-final { check-function-bodies {** } {} } } */ |
| 6 |
|
| 7 |
void f(void) |
| 8 |
{ |
| 9 |
__builtin_alloca(123); /* { dg-warning "ignoring return value of '__builtin_alloca' declared with attribute 'warn_unused_result'" } */ |
| 10 |
/* { dg-bogus {sorry, unimplemented: dynamic stack allocation not supported} {} { target *-*-* } .-1 } */ |
| 11 |
} |
| 12 |
/* |
| 13 |
** f: |
| 14 |
** \.visible \.func f |
| 15 |
** { |
| 16 |
** ret; |
| 17 |
*/ |