gcc/testsuite/gcc.target/nvptx/abi-vararg-3.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-Wno-pedantic -Wno-long-long" } */ |
| 3 | |
| 4 | /* 64-bit var args should be aligned to 64 bits. */ |
| 5 | |
| 6 | void Foo (const char *, ...); |
| 7 | |
| 8 | void Baz () |
| 9 | { |
| 10 | Foo ("", 0, 1ll); |
| 11 | } |
| 12 | |
| 13 | /* { dg-final { scan-assembler "st.u64\t\\\[%stack\\+8\\\]," } } */ |