Does using fields of auto variables of union type generate code that is less efficient than it would be using scalars?
That is, if in C++ I declare my variables as
foo()
{
union
{
int n;
};
...
}
as opposed to simply
foo()
{
int n;
...
}
would gcc generate inferior code? Or, are the tree-SSA optimizers so
powerful that it wouldn't make any difference?
[I'm looking at this to determine the best way to represent the trees
produced by the gcj front-end.]
Thanks,
Andrew.
