This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR middle-end/17793
- From: Jason Merrill <jason at redhat dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 20 Oct 2004 18:01:03 -0400
- Subject: Re: [PATCH] Fix PR middle-end/17793
- References: <10410202108.AA21717@vlsi1.ultra.nyu.edu>
On Wed, 20 Oct 04 17:08:20 EDT, firstname.lastname@example.org (Richard Kenner) wrote:
> The problem is that we end up with an ADDR_EXPR of a NOP_EXPR, which is
> nonsensical; you can't take the address of a value.
> Well, at some level you have to. Suppose we have a subprogram that
> has an operand that's passed by reference and you pass an expression
> to that operand? Somebody has to make a temporary and take the
> address of that temporary. [snip]
Yes, I think I actually got there later in my message. My question is, is
that the behavior the front end wants in this case? I don't understand how
you get the tree codes mentioned from the Ada code quoted.