This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap of trunk fails with Ada on powerpc-unknown-linux-gnu.
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: pinskia at physics dot uc dot edu
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 25 Jan 05 20:44:19 EST
- Subject: Re: Bootstrap of trunk fails with Ada on powerpc-unknown-linux-gnu.
I asked RTH about this before posting this here and he said Ada
front-end was broken and you need to create a temporary variable for the
ADDR_EXPR.
Well, it never did it before. So what changed?
Also, we've informally defined GENERIC as "the tree language used before
the tree-ssa project" and ADDR_EXPR of a CONSTRUCTOR was most certainly
valid then. So I don't see any justification for the restriction.
I think there was another case like this in the Objective-C front-end
which fixed to create a CONST_DECL for it.
It's not clear to me that a CONST_DECL is the most appropriate representation.
But it would seem that the gimplifier is what's best-suited to make that
determination.