gcc/testsuite/ChangeLog:
* gcc.target/mips/pr99217-2.c: New test.
---
gcc/testsuite/gcc.target/mips/pr99217-2.c | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 gcc/testsuite/gcc.target/mips/pr99217-2.c
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 00000000000..c51f3f4399e
--- /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)
+{
+}
--
2.50.1 (Apple Git-155)