This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Build problems on Solaris 2.5.1
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: Build problems on Solaris 2.5.1
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Mon, 13 Nov 2000 10:47:07 +0000
- Cc: gcc-patches at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
> I'd prefer this be more similar to other instances in the compiler like
>
> /* Make sure the data is reasonably aligned. */
> union {
> HOST_WIDEST_INT i;
> #ifdef HAVE_LONG_DOUBLE
> long double d;
> #else
> double d;
> #endif
Ah! I wondered if there was precedent for solving this problem elsewhere
in the compiler, but hadn't been able to find it. I like that solution
much better...
R.