> 2012-04-03 Martin Jambor <mjam...@suse.cz>
> * expr.c (expand_expr_real_1): Pass type, not the expression, to
> set_mem_attributes for a memory temporary. Do not call the
> function for temporaries with a different alias set.
The last sentence is unprecise, this would rather be: "Do not call the function
for the memory temporary created for a bitfield".
I wonder whether we should simplify the bitfield case in the process. Once we
remove the call to set_mem_attributes, I think the
/* If the reference doesn't use the alias set of its type,
we cannot create the temporary using that type. */
is useless, so we could try to revert r122014 in the process.