Add warning to back end and add test. Patch is attached.
If the patch is acceptable, I would appreciate if someone could commit it for me as I do not have write access. 2017-05-XX Jozef Lawrynowicz <joze...@somniumtech.com> gcc/ PR target/78818 * config/msp430/msp430.c (msp430_unique_section): Warn if .persistent attribute is used on an automatic variable. gcc/testsuite PR target/78818 * gcc.target/msp430/pr78818/pr78818-auto-warn.c: New test.
0002-MSP430-Emit-warning-when-persistent-attribute-is-use.patch
Description: Binary data