diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr59501-2a.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr59501-2a.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr59501-2a.c b/gcc/testsuite/gcc.target/i386/pr59501-2a.c new file mode 100644 index 00000000000..c0fe3626961 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr59501-2a.c @@ -0,0 +1,10 @@ +/* PR target/59501 */ +/* { dg-do compile { target { ! ia32 } } } */ +/* { dg-options "-O2 -mavx -maccumulate-outgoing-args" } */ + +#include "pr59501-1a.c" + +/* Verify no dynamic realignment is performed. */ +/* { dg-final { scan-assembler-not "and\[^\n\r]*sp" } } */ +/* And DRAP isn't needed either. */ +/* { dg-final { scan-assembler-not "r10" } } */ |