[Bug target/70713] msp430 interrupt attribute prevents overriding weak symbols
dj at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 13 20:07:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70713
--- Comment #3 from dj at gcc dot gnu.org <dj at gcc dot gnu.org> ---
Author: dj
Date: Tue Sep 13 20:06:47 2016
New Revision: 240123
URL: https://gcc.gnu.org/viewcvs?rev=240123&root=gcc&view=rev
Log:
2016-09-13 Joe Seymour <joe.s@somniumtech.com>
gcc/
PR target/70713
* config/msp430/msp430.c (msp430_start_function): Emit an error
if a function is both weak and specifies an interrupt number.
gcc/testsuite/
PR target/70713
* gcc.target/msp430/function-attributes-1.c: New test.
* gcc.target/msp430/function-attributes-2.c: New test.
* gcc.target/msp430/function-attributes-3.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/msp430/function-attributes-1.c
trunk/gcc/testsuite/gcc.target/msp430/function-attributes-2.c
trunk/gcc/testsuite/gcc.target/msp430/function-attributes-3.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/msp430/msp430.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list