diff --git a/gcc/testsuite/gcc.target/i386/pr111673.c b/gcc/testsuite/gcc.target/i386/pr111673.c index 8d8a5a764f0056d94b5ed025f2ae4c580d4aad6b..b9ceacf7651201526551dadb775d0382ac0c7a2a 100644 --- a/gcc/testsuite/gcc.target/i386/pr111673.c +++ b/gcc/testsuite/gcc.target/i386/pr111673.c @@ -1,5 +1,19 @@ /* { dg-do compile { target { ! ia32 } } } */ /* { dg-options "-O2 -fdump-rtl-pro_and_epilogue" } */ +/* Keep labels and directives ('.cfi_startproc', '.cfi_endproc'). */ +/* { dg-final { check-function-bodies "**" "" "" { target "*-*-*" } {^\t?\.} } } */ + +/* +**advance: +**.LFB0: +** .cfi_startproc +** testl %edi, %edi +** jle .L2 +** imull %edi, %edi +** leal \(%rdi,%rdi\), %eax +** ret +**... +*/ /* Verify there is an early return without the prolog and shrink-wrap the function. */