msp430.c (msp430_attr): Warn when the critical and interrupt function attributes...
authorJozef Lawrynowicz <jozefl@gcc.gnu.org>
Sat, 29 Dec 2018 19:00:48 +0000 (19:00 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Sat, 29 Dec 2018 19:00:48 +0000 (19:00 +0000)
commit600845521e68b5e0da136636ecf174eee8e5ee17
tree4ef6cf8d348615502582a0545e6f652557e462c0
parent74ee24e23e96dde8a338a140c3cadd0bb7715e61
msp430.c (msp430_attr): Warn when the critical and interrupt function attributes are used together.

2018-12-29  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

gcc/ChangeLog:

* config/msp430/msp430.c (msp430_attr): Warn when the critical and
interrupt function attributes are used together.
* gcc/doc/extend.texi: Update documentation on the critical attribute.

gcc/testsuite/ChangeLog:

* gcc.target/msp430/critical-interrupt.c: New test.

From-SVN: r267467
gcc/ChangeLog
gcc/config/msp430/msp430.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/msp430/critical-interrupt.c [new file with mode: 0644]