This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] for PR 18040
On Mon, 18 Oct 2004 19:34:09 +0200, Florian Weimer <fw@deneb.enyo.de> wrote:
> * Jason Merrill:
>
>> On Mon, 18 Oct 2004 14:33:03 +0200, Florian Weimer <fw@deneb.enyo.de> wrote:
>>
>>> Unfortunately, var doesn't have to be addressable.
>>
>> If var isn't addressable, there's no way to break up references into
>> multiple statements, because there's no way to get a handle on an
>> intermediate reference. So it seems that we need to support
>> VIEW_CONVERT_EXPR (but not NOP_EXPR) inside references.
>>
> The language permits to work on an addressable copy instead
But that can be arbitrarily expensive for large types, and impossible for
variable-sized types.
Jason