diff options
Diffstat (limited to 'gcc-4.8/gcc/testsuite/gcc.target/i386/pr34522.c')
-rw-r--r-- | gcc-4.8/gcc/testsuite/gcc.target/i386/pr34522.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc-4.8/gcc/testsuite/gcc.target/i386/pr34522.c b/gcc-4.8/gcc/testsuite/gcc.target/i386/pr34522.c new file mode 100644 index 000000000..eb1e03a77 --- /dev/null +++ b/gcc-4.8/gcc/testsuite/gcc.target/i386/pr34522.c @@ -0,0 +1,13 @@ +/* { dg-options "-O2" } */ +/* { dg-do compile } */ +/* { dg-require-effective-target ia32 } */ + +int test(long long a, long long b) +{ + return a * b; +} + +/* Check that we did not spill anything. This is all that is needed + to qualify the generated code as "decent"... */ + +/* { dg-final { scan-assembler-not "%e\[sd\]i" } } */ |