i386: Add more naked attribute tests
commit6ed7ed654bd6e085dfa4e6145c0d349c5430fe0e
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Aug 2017 21:39:51 +0000 (1 21:39 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Aug 2017 21:39:51 +0000 (1 21:39 +0000)
treee2d2cc5fccc5e4e51d481559a0f463f40f4abd4f
parent33a85d6728936cae9b4e29aab23d9ea7cedd3be7
i386: Add more naked attribute tests

Add some tests for implementing interrupt handlers with naked attribute
and without asm statements.

* gcc.dg/guality/pr25967-3.c: New test.
* gcc.dg/guality/pr25967-4.c: Likewise.
* gcc.dg/torture/pr25967-3.c: Likewise.
* gcc.dg/torture/pr25967-4.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250800 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/pr25967-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/guality/pr25967-4.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr25967-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr25967-4.c [new file with mode: 0644]