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: More on VIEW_CONVERT_EXPR


On Wed, Jul 21, 2004 at 11:45:54AM -0700, Mark Mitchell wrote:
> What's your thinking here vis a vis the idea of moving this back into 
> Ada-land?  I'm not terribly eager to do that; just thinking.

The fact that we don't currently have a method to represent
pointers to unaligned data is a showstopper, at present.

Though I strongly suspect that whatever Ada's doing could be
instead represented as a nesting of structures/unions instead
of a VIEW_CONVERT_EXPR.  Kenner says they tried that once, but
I really don't see how it differs from the type/type-as-base
thing that c++ has.

Anyway, I suspect that incentive to move away from using VCE
will come from the fact that nested structures optimize well
and VCE doesn't.


r~


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