This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in transparent union handling?
- From: Richard Henderson <rth at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: Tue, 14 Jun 2005 22:10:56 -0700
- Subject: Re: Bug in transparent union handling?
- References: <1118793593.7908.6.camel@linux.site>
On Tue, Jun 14, 2005 at 07:59:53PM -0400, Daniel Berlin wrote:
> Is this really supposed to look like this?
Not really. What's there is Good Enough (tm) if we immediately
expand to rtl; the union will Just So Happen to have Pmode, and
so things will Just So Happen to work.
This needs to use a VIEW_CONVERT_EXPR, at minimum. No doubt there
are other parts of transparent unions that need modification.
r~