A bug in GCC 2.95.2 for SPARC

Alexandre Oliva aoliva@cygnus.com
Tue May 9 09:31:00 GMT 2000


On May  8, 2000, James Cheng <James.Cheng@eng.sun.com> wrote:

> I am reporting a bug in GCC 2.95.2 for SPARC. For the example shown
> below, the compiler is generating an unaligned double store

Yep, this is one of the reasons why GCC 2.95.2 does not fully support
ultrasparc.  Use -mtune=ultrasparc instead of -mcpu=ultrasparc, to get
most of the optimization without enabling the instructions that may
fail.

-- 
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