diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2016-07-20 13:50:31 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2016-07-20 13:50:31 +0000 |
commit | 2d06ca74a23cc87d2edc983f24a196a815af1c01 (patch) | |
tree | ce0abd1f7dce44f3b5e61e8e4daa5a6b41940f05 /gcc/tree-ssa-structalias.c | |
parent | b25ea150b6d2b9021f785ce4397e0ffe478b5a42 (diff) | |
download | gcc-2d06ca74a23cc87d2edc983f24a196a815af1c01.zip gcc-2d06ca74a23cc87d2edc983f24a196a815af1c01.tar.gz gcc-2d06ca74a23cc87d2edc983f24a196a815af1c01.tar.bz2 |
avr-protos.h (avr_addr_space_supported_p): New prototype.
gcc/
* config/avr/avr-protos.h (avr_addr_space_supported_p): New prototype.
* config/avr/avr.c (TARGET_ADDR_SPACE_DIAGNOSE_USAGE): New hook
define...
(avr_addr_space_diagnose_usage): ...and implementation.
(avr_addr_space_supported_p): New function.
(avr_nonconst_pointer_addrspace, avr_pgm_check_var_decl): Only
report bad address space usage if that space is supported.
(avr_insert_attributes): Same. No more complain about unsupported
address spaces.
* config/avr/avr-c.c (tm_p.h): Include it.
(avr_cpu_cpp_builtins): Only define addr-space related built-in
macro if avr_addr_space_supported_p.
From-SVN: r238519
Diffstat (limited to 'gcc/tree-ssa-structalias.c')
0 files changed, 0 insertions, 0 deletions