This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] remove the unsigned_type language hook
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: "Rafael Espindola" <espindola at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 8 May 2007 19:40:59 +0200
- Subject: Re: [PATCH] remove the unsigned_type language hook
- References: <38a0d8450705030242h10081decsfe6d5bbce3f0864f@mail.gmail.com>
> gcc/ada/ChangeLog
> * gcc/ada/gigi.h (gnat_unsigned_type): Remove.
> * gcc/ada/misc.c (LANG_HOOKS_UNSIGNED_TYPE): Remove.
> * gcc/ada/trans.c (gnat_to_gnu): Use get_unsigned_type instead of
> gnat_unsigned_type.
> (convert_with_check): Likewise.
> * gcc/ada/utils.c (gnat_unsigned_type): Remove.
Not OK. Please leave the Gigi code untouched and only delete in misc.c
LANG_HOOKS_UNSIGNED_TYPE (and LANG_HOOKS_SIGNED_TYPE).
--
Eric Botcazou