[testsuite, committed] Fix scan-assembler patterns in i386/naked-{1,2}.c

Tom de Vries Tom_deVries@mentor.com
Thu Nov 2 09:18:00 GMT 2017


[ was: Re: [PATCH, i386]: Implement attribute ((naked)) ]

On 07/30/2017 10:14 PM, Uros Bizjak wrote:
> Index: testsuite/gcc.target/i386/naked-1.c

> +/* { dg-final { scan-assembler "ud2" } } */
> +/* { dg-final { scan-assembler-not "ret" } } */

> Index: testsuite/gcc.target/i386/naked-2.c

> +/* { dg-final { scan-assembler-not "push" } } */
> +/* { dg-final { scan-assembler-not "pop" } } */

Hi,

these single-word scan patterns can easily be triggered by running the 
tests with a source directory containing these words.

Committed as obvious.

Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-scan-assembler-patterns-in-i386-naked-1-2-.c.patch
Type: text/x-patch
Size: 1444 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20171102/2025d61f/attachment.bin>


More information about the Gcc-patches mailing list