Code generation bug on ultrasprac

David S. Miller
Thu Sep 23 03:16:00 GMT 1999

   From: Martin Weiser <>
   Date: Thu, 23 Sep 1999 11:07:19 +0200

   gcc 2.95.1 seems to generate bad code for the appended minimal
   program. Although intended to do absolutely nothing, the executable
   bus errors on an Sun Ultra 1/170E and a Sun Ultra 5/10 when compiled
   with -mcpu=ultrasparc. Using e.g. -mcpu=hypersparc works well.

Try "-mtune=ultrasparc -mv8" instead.

David S. Miller

More information about the Gcc-bugs mailing list