[gnu.gcc.bug] problem with gnu malloc and gcc 1.33 on sparc

trq@MOOSE.CITA.UTORONTO.CA (Tom Quinn) (02/10/89)

The malloc.c included with the emacs 18.52 distribution does not, in
general, return an 8 byte aligned pointer.  This causes problems when
gcc uses a "std" instruction, which requires an 8 byte aligned byte: a
"Bus error" results.  This was demonstrated by compiling emacs version
18.52 with the X11 and XMenu options with gcc 1.33 on a Sun 4/110
running SunOS 4.0. (The X and XMenu libraries were also compiled with
gcc 1.33)  The editor would die in XMenuCreate().  The malloc that Sun
provides appears to work.

Tom Quinn                 Canadian Institute for Theoretical Astrophysics
trq@moose.cita.utoronto.ca
UUCP   - decvax!utgpu!moose!trq
BITNET - quinn@utorphys.bitnet
ARPA   - trq%moose.cita.toronto.edu@relay.cs.net