This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR middle-end/17793


On Wed, 20 Oct 04 17:08:20 EDT, kenner@vlsi1.ultra.nyu.edu (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.

Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]