-mcpu=ultrasparc miscompiles (32 bit)

Alexandre Oliva aoliva@cygnus.com
Tue May 2 09:37:00 GMT 2000


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



More information about the Gcc-bugs mailing list