diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr122343-6b.c')
| -rw-r--r-- | gcc/testsuite/gcc.target/i386/pr122343-6b.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr122343-6b.c b/gcc/testsuite/gcc.target/i386/pr122343-6b.c new file mode 100644 index 0000000..f741f5c --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr122343-6b.c @@ -0,0 +1,27 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -fomit-frame-pointer -fno-fuse-ops-with-volatile-access" } */ +/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */ +/* { dg-final { check-function-bodies "**" "" "" { target *-*-* } {^\t?\.} } } */ + +/* +**foo: +**.LFB0: +** .cfi_startproc +** movl bar(|\(%rip\)), %eax +** movl bar(|\(%rip\)), %eax +** imull \$123, %eax, %edx +** movl %edx, bar(|\(%rip\)) +**... +** barrier +**... +** movl bar(|\(%rip\)), %ecx +** movl bar(|\(%rip\)), %edx +** addl %ecx, %eax +** subl %eax, %edx +** movl %edx, bar(|\(%rip\)) +** ret +** .cfi_endproc +**... +*/ + +#include "pr122343-6a.c" |
