Build problems on Solaris 2.5.1
Richard Henderson
rth@redhat.com
Fri Nov 10 10:57:00 GMT 2000
On Fri, Nov 10, 2000 at 03:35:57PM +0000, Richard Earnshaw wrote:
> * varasm.c (struct constant_descriptor): Put CONTENTS inside a
> union to make it well-aligned. Update all uses.
Ok, but...
! union
! {
! unsigned char contents[1];
! double algn; /* Make sure this is well aligned. */
! } u;
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
r~
More information about the Gcc-bugs
mailing list