386: Disallow naked attribute with interrupt attribute
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 1 Aug 2017 20:25:41 +0000 (20:25 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 1 Aug 2017 20:25:41 +0000 (13:25 -0700)
commita2e28a974709c9b2712ff28aac2afccb492436a6
treea6e6d60eb0b29ce9c96d6c6a739bcce6907fef1c
parentd8afd032fad763a31efe2da716da657bde7c556b
386: Disallow naked attribute with interrupt attribute

gcc/

PR target/81654
* config/i386/i386.c (ix86_set_func_type): Disallow naked
attribute with interrupt attribute.

gcc/testsuite/

PR target/81654
* gcc.target/i386/pr81654.c: New test.

From-SVN: r250793
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr81654.c [new file with mode: 0644]