r238519 - in /trunk/gcc: ChangeLog config/avr/a...

gjl@gcc.gnu.org gjl@gcc.gnu.org
Wed Jul 20 13:50:00 GMT 2016


Author: gjl
Date: Wed Jul 20 13:50:31 2016
New Revision: 238519

URL: https://gcc.gnu.org/viewcvs?rev=238519&root=gcc&view=rev
Log:
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.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/avr/avr-c.c
    trunk/gcc/config/avr/avr-protos.h
    trunk/gcc/config/avr/avr.c



More information about the Gcc-cvs mailing list