Fix scan-assembler patterns in i386/naked-{1,2}.c
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
This commit is contained in:
parent
a4d758d005
commit
331b46738c
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -10,5 +10,5 @@ foo (void)
|
||||
__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$" } } */
|
||||
|
@ -10,5 +10,5 @@ foo (void)
|
||||
__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" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user