re PR ada/21952 (Annoying "attribute directive ignored" warnings)
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 13 Sep 2006 18:27:24 +0000 (18:27 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 13 Sep 2006 18:27:24 +0000 (18:27 +0000)
commit2655f1c6dd3b1a1db7453065a0bb67f30d4552ad
tree2e239ba8769813341c27af38aed2f2c2f2f5459f
parentf66fd328ce6453b71f117eed42dad270e3c2bcaa
re PR ada/21952 (Annoying "attribute directive ignored" warnings)

PR ada/21952
* gigi.h (gnat_internal_attribute_table): Declare.
* misc.c (LANG_HOOKS_ATTRIBUTE_TABLE): Define to above.
* utils.c (gnat_internal_attribute_table): New global variable.
(builtin_function): Always call decl_attributes on the builtin.
(handle_const_attribute): New static function.
(handle_nothrow_attribute): Likewise.

From-SVN: r116926
gcc/ada/ChangeLog
gcc/ada/gigi.h
gcc/ada/misc.c
gcc/ada/utils.c