i386: Add more naked attribute tests
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 1 Aug 2017 21:39:51 +0000 (21:39 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 1 Aug 2017 21:39:51 +0000 (14:39 -0700)
commit73380438c9c7ab188f5f21ee27da0f04f89d0417
treee2d2cc5fccc5e4e51d481559a0f463f40f4abd4f
parent760f74c21b5ed03631e598d015c5b95e8377ae27
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.

From-SVN: r250800
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]