This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: -mcpu=ultrasparc miscompiles (32 bit)
- To: Keith Refson <Keith dot Refson at earth dot ox dot ac dot uk>
- Subject: Re: -mcpu=ultrasparc miscompiles (32 bit)
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 02 May 2000 13:37:28 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: Cygnus Solutions, a Red Hat Company
- References: <2611.200005021552@metropolis.earth.ox.ac.uk>
On May 2, 2000, Keith Refson <Keith.Refson@earth.ox.ac.uk> wrote:
> I have an extremely-well debugged floating-point program which
> coredumps with SIGBUS when compiled with gcc 2.95.2 using the
> "-mcpu=ultrasparc" option.
Could it be because GCC 2.95.2 doesn't fully support ultrasparc? :-)
IIRC, the problem has to do with stack alignment and GCC's usage of
64-bit load and store insns. I think `-mtune=ultrasparc' is supposed
to work.
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me