From: Sebastian Huber Date: Wed, 26 Jul 2017 08:28:12 +0000 (+0000) Subject: [SPARC] Drop superfluous MASK_FPU enable X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9cda17b5c6411df40b865838bc99d55709d7ae21;p=gcc.git [SPARC] Drop superfluous MASK_FPU enable All TARGET_DEFAULT defines set MASK_FPU. There is no need to set it in some CPU target flags enable. gcc/ * config/sparc/sparc.c (sparc_option_override): Remove MASK_FPU from all CPU target flags enable members. From-SVN: r250557 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 93afb1c19cb..f7482c12a38 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-07-26 Sebastian Huber + + * config/sparc/sparc.c (sparc_option_override): Remove MASK_FPU + from all CPU target flags enable members. + 2017-07-26 Richard Biener * genmatch.c (dt_simplify::gen): Make iterator vars const. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index f4f318a81a1..674a3823cb9 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -1408,15 +1408,15 @@ sparc_option_override (void) { "v8", MASK_ISA, MASK_V8 }, /* TI TMS390Z55 supersparc */ { "supersparc", MASK_ISA, MASK_V8 }, - { "hypersparc", MASK_ISA, MASK_V8|MASK_FPU }, - { "leon", MASK_ISA, MASK_V8|MASK_LEON|MASK_FPU }, - { "leon3", MASK_ISA, MASK_V8|MASK_LEON3|MASK_FPU }, - { "leon3v7", MASK_ISA, MASK_LEON3|MASK_FPU }, + { "hypersparc", MASK_ISA, MASK_V8 }, + { "leon", MASK_ISA, MASK_V8|MASK_LEON }, + { "leon3", MASK_ISA, MASK_V8|MASK_LEON3 }, + { "leon3v7", MASK_ISA, MASK_LEON3 }, { "sparclite", MASK_ISA, MASK_SPARCLITE }, /* The Fujitsu MB86930 is the original sparclite chip, with no FPU. */ { "f930", MASK_ISA|MASK_FPU, MASK_SPARCLITE }, /* The Fujitsu MB86934 is the recent sparclite chip, with an FPU. */ - { "f934", MASK_ISA, MASK_SPARCLITE|MASK_FPU }, + { "f934", MASK_ISA, MASK_SPARCLITE }, { "sparclite86x", MASK_ISA|MASK_FPU, MASK_SPARCLITE }, { "sparclet", MASK_ISA, MASK_SPARCLET }, /* TEMIC sparclet */