This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/81654] Should interrupt attribute be allowed together with naked attribute?
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 01 Aug 2017 20:26:13 +0000
- Subject: [Bug target/81654] Should interrupt attribute be allowed together with naked attribute?
- Auto-submitted: auto-generated
- References: <bug-81654-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81654
--- Comment #2 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> ---
Author: hjl
Date: Tue Aug 1 20:25:41 2017
New Revision: 250793
URL: https://gcc.gnu.org/viewcvs?rev=250793&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.target/i386/pr81654.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog