i386: Add some naked attribute tests
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 1 Aug 2017 21:07:04 +0000 (21:07 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 1 Aug 2017 21:07:04 +0000 (14:07 -0700)
commit760f74c21b5ed03631e598d015c5b95e8377ae27
treeb4cf9e325feee2e8f67e05b114d70a7319da549e
parentf4bcd9eb2ec8343dbcd8b1bb58ca483340ef492c
i386: Add some naked attribute tests

Add some tests for implementing interrupt handlers with naked attribute.

* gcc.dg/guality/pr25967-1.c: New test.
* gcc.dg/guality/pr25967-2.c: Likewise.
* gcc.dg/torture/pr25967-1.c: Likewise.
* gcc.dg/torture/pr25967-2.c: Likewise.

From-SVN: r250799
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/guality/pr25967-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/guality/pr25967-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr25967-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/torture/pr25967-2.c [new file with mode: 0644]