[Bug ada/21952] [4.1/4.2 regression] Annoying "attribute directive ignored" warnings

ebotcazou at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 13 18:27:00 GMT 2006



------- Comment #14 from ebotcazou at gcc dot gnu dot org  2006-09-13 18:27 -------
Subject: Bug 21952

Author: ebotcazou
Date: Wed Sep 13 18:27:24 2006
New Revision: 116926

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


Modified:
    trunk/gcc/ada/ChangeLog
    trunk/gcc/ada/gigi.h
    trunk/gcc/ada/misc.c
    trunk/gcc/ada/utils.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21952



More information about the Gcc-bugs mailing list