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: {tree-ssa] Fixes re multiple type nodes from IMA


On Thu, Mar 11, 2004 at 03:25:22PM -0800, Dale Johannesen wrote:
> OK, I guess.   You won't necessarily get the corresponding field for
> unions doing that, but I suppose it doesn't matter. 

Yep.

> (I see that SRA doesn't currently do unions anyway, but it could in
> some cases.  It may be a small enough win that nobody will ever do
> it though.)

I do plan to handle trivial cases like

	union { float f; int i; } u;
	u.f = f;
	i = u.i;

some day.  This is equivalent to 

	i = <view_convert_expr>(f);



r~


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