2017-11-02 Tom de Vries <tom@codesourcery.com>
PR testsuite/82415
* gcc.target/i386/naked-1.c: Make scan patterns more precise.
* gcc.target/i386/naked-2.c: Same.
From-SVN: r254338
+2017-11-02 Tom de Vries <tom@codesourcery.com>
+
+ PR testsuite/82415
+ * gcc.target/i386/naked-1.c: Make scan patterns more precise.
+ * gcc.target/i386/naked-2.c: Same.
+
2017-11-02 Richard Biener <rguenther@suse.de>
PR middle-end/82765
__asm__ ("# naked");
}
/* { dg-final { scan-assembler "# naked" } } */
-/* { dg-final { scan-assembler "ud2" } } */
-/* { dg-final { scan-assembler-not "ret" } } */
+/* { dg-final { scan-assembler "(?n)^\\s*ud2$" } } */
+/* { dg-final { scan-assembler-not "(?n)^\\s*ret$" } } */
__asm__ ("# naked");
}
/* { dg-final { scan-assembler "# naked" } } */
-/* { dg-final { scan-assembler-not "push" } } */
-/* { dg-final { scan-assembler-not "pop" } } */
+/* { dg-final { scan-assembler-not "(?n)^\\s*push" } } */
+/* { dg-final { scan-assembler-not "(?n)^\\s*pop" } } */