[Ada] Do not warn about unused global declarations

Eric Botcazou ebotcazou@adacore.com
Fri Jun 19 20:26:00 GMT 2015


After the merge of the debug-early branch, the Ada compiler now issues 
warnings about unused global declarations (check_global_declaration is now 
invoked in Ada too).  That's undesirable, since the front-end proper already 
does it and its messages are superior.

Tested on x86_64-suse-linux, applied on the mainline.


2015-06-19  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/misc.c (LANG_HOOKS_WARN_UNUSED_GLOBAL_DECL): Define.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150619/f5fdb078/attachment.bin>


More information about the Gcc-patches mailing list