This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap failure on trunk: x86_64-linux-gnu
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc at gcc dot gnu dot org
- Cc: law at redhat dot com, Laurent GUERBY <laurent at guerby dot net>, Daniel Jacobowitz <drow at false dot org>, Arnaud Charlet <charlet at adacore dot com>, Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, Andrew Pinski <pinskia at physics dot uc dot edu>, Andrew Haley <aph at redhat dot com>
- Date: Thu, 2 Mar 2006 14:31:10 +0100
- Subject: Re: Bootstrap failure on trunk: x86_64-linux-gnu
- References: <17400.42579.162536.967995@zapata.pink> <1141252514.3223.101.camel@localhost.localdomain> <200603021405.09326.ebotcazou@adacore.com>
> Excerpt from utils2.c:
>
> /* Likewise, but only return types known to the Ada source. */
> tree
> get_ada_base_type (tree type)
> {
> while (TREE_TYPE (type)
> && (TREE_CODE (type) == INTEGER_TYPE
>
> || TREE_CODE (type) == REAL_TYPE)
>
> && !TYPE_EXTRA_SUBTYPE_P (type))
> type = TREE_TYPE (type);
>
> return type;
> }
>
> And ada-tree.h:
>
> /* Nonzero in an arithmetic subtype if this is a subtype not known to the
> front-end. */
> #define TYPE_EXTRA_SUBTYPE_P(NODE) TYPE_LANG_FLAG_2 (NODE)
>
> c460008__unsigned_edge_8 has the TYPE_EXTRA_SUBTYPE_P flag set.
Which is of course a bit confusing because get_ada_base_type precisely returns
the first subtype "not known to the front-end"...
--
Eric Botcazou