aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorJozef Lawrynowicz <jozef.l@somniumtech.com>2017-06-15 13:38:52 +0000
committerNick Clifton <nickc@gcc.gnu.org>2017-06-15 13:38:52 +0000
commit61f5d85294a6a2757a1ab870c6f335e092c0c83a (patch)
treec687e904fefd96cf91a4784dfa2a87fc8ed968e4 /gcc/tree-vrp.c
parent0948d23fffba754853cc93984e106d2aaf9a3897 (diff)
downloadgcc-61f5d85294a6a2757a1ab870c6f335e092c0c83a.zip
gcc-61f5d85294a6a2757a1ab870c6f335e092c0c83a.tar.gz
gcc-61f5d85294a6a2757a1ab870c6f335e092c0c83a.tar.bz2
Fix problems with the MSP430 port's handling of persistent data.
PR target/78818 gcc * config/msp430/msp430.c (msp430_data_attr): Check that it's possible for a variable to have a section before checking if the section has a name. Set section to.persistent if persistent attribute is set. Warn if .persistent attribute is used on an automatic variable. tests * gcc.target/msp430/pr78818-real.c: New template for tests. * gcc.target/msp430/pr78818-auto.c: New test. * gcc.target/msp430/pr78818-data-region.c: New test. * gcc.target/msp430/pr78818-data-sec.c: New test. * gcc.target/msp430/pr78818-auto-warn.c: New test. From-SVN: r249222
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions