* config/sparc/sparc.c (sparc_override_options): Initialize
fpu mask correctly.
From-SVN: r125676
+2007-06-13 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * config/sparc/sparc.c (sparc_override_options): Initialize
+ fpu mask correctly.
+
2007-06-08 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/32163
error ("-mcmodel= is not supported on 32 bit systems");
}
- fpu = TARGET_FPU; /* save current -mfpu status */
+ fpu = target_flags & MASK_FPU; /* save current -mfpu status */
/* Set the default CPU. */
for (def = &cpu_default[0]; def->name; ++def)
+2007-06-13 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * gcc.target/sparc/mfpu.c: New test.
+
2007-05-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/31964
--- /dev/null
+/* Reported by Peter A. Krauss <peter.a.krauss@web.de> */
+
+/* { dg-do compile } */
+/* { dg-options "-mfpu" } */
+
+float square(float x)
+{
+ return x * x;
+}
+
+/* { dg-final { scan-assembler "fmuls" } } */