diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/mips/pr99217-2.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/mips/pr99217-2.c b/gcc/testsuite/gcc.target/mips/pr99217-2.c new file mode 100644 index 0000000..c51f3f4 --- /dev/null +++ b/gcc/testsuite/gcc.target/mips/pr99217-2.c @@ -0,0 +1,11 @@ +/* { dg-do compile } */ +/* { dg-additional-options "-fpatchable-function-entry=2,1" } */ +/* { dg-final { scan-assembler "foo:\n\t.set\tnoreorder\n\tnop\n\t.set\treorder" } } */ +/* { dg-final { scan-assembler ".*.LPFE0:\n\t.set\tnoreorder\n\tnop\n\t.set\treorder\n\t.ent\tfoo\n" } } */ + +/* Test the placement of the .LPFE0 label. */ + +void +foo (void) +{ +} |