diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/pr122343-4b.c')
| -rw-r--r-- | gcc/testsuite/gcc.target/i386/pr122343-4b.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/pr122343-4b.c b/gcc/testsuite/gcc.target/i386/pr122343-4b.c new file mode 100644 index 0000000..31a990e --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/pr122343-4b.c @@ -0,0 +1,24 @@ +/* { 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 +**... +** barrier +**... +** movl bar(|\(%rip\)), %ecx +** movl bar(|\(%rip\)), %edx +** addl %ecx, %eax +** subl %edx, %eax +** ret +** .cfi_endproc +**... +*/ + +#include "pr122343-4a.c" |
