Commit 06063fa2 by Eric Botcazou Committed by Eric Botcazou

sparc.c (sparc_override_options): Initialize fpu mask correctly.

	* config/sparc/sparc.c (sparc_override_options): Initialize
	fpu mask correctly.

From-SVN: r125674
parent eaf7f7e7
2007-06-13 Eric Botcazou <ebotcazou@libertysurf.fr>
* config/sparc/sparc.c (sparc_override_options): Initialize
fpu mask correctly.
2007-06-13 Dave Korn <dave.korn@artimi.com>
* config/i386/i386.c (ix86_eax_live_at_start_p): Use
......
......@@ -705,7 +705,7 @@ sparc_override_options (void)
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-06-12 Geoff Keating <geoffk@apple.com>
* g++.dg/warn/weak1.C: Suppress on Darwin.
/* 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" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment