diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-08-02 11:51:03 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-08-02 11:51:03 -0700 |
commit | 00dc0e0a65d4a69f0f40a821284b5bbc6c18bdf1 (patch) | |
tree | 7aef131c6aa889f271f63abb80fcb70db26db5ce | |
parent | b6d3c4ba80fb598fd27ee30155ca07aee0b3efe3 (diff) | |
download | gcc-00dc0e0a65d4a69f0f40a821284b5bbc6c18bdf1.zip gcc-00dc0e0a65d4a69f0f40a821284b5bbc6c18bdf1.tar.gz gcc-00dc0e0a65d4a69f0f40a821284b5bbc6c18bdf1.tar.bz2 |
(sparc_code_model): Delete.
(sparc_override_options): Code model flags only useable with v9.
From-SVN: r7850
-rw-r--r-- | gcc/config/sparc/sparc.c | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index f21c644..915d2ed 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -113,40 +113,19 @@ static void sparc_init_modes (); /* Option handling. */ -/* Contains one of: medium-low, medium-anywhere. */ -/* ??? These names are quite long. */ - -char *sparc_code_model; - /* Validate and override various options, and do some machine dependent initialization. */ void sparc_override_options () { - if (sparc_code_model == 0) - /* Nothing to do. */ - ; - else if (! TARGET_V9) - error ("code model support is only available with -mv9"); - else if (strcmp (sparc_code_model, "medium-low") == 0) - { - target_flags &= ~MASK_CODE_MODEL; - target_flags |= MASK_MEDLOW; - } - else if (strcmp (sparc_code_model, "medium-anywhere") == 0) - { - target_flags &= ~MASK_CODE_MODEL; - target_flags |= MASK_MEDANY; - } - else - error ("bad value (%s) for -mcode-model switch", sparc_code_model); - /* Check for any conflicts in the choice of options. */ /* ??? This stuff isn't really usable yet. */ if (! TARGET_V9) { + if (target_flags & MASK_CODE_MODEL) + error ("code model support is only available with -mv9"); if (TARGET_INT64) error ("-mint64 is only available with -mv9"); if (TARGET_LONG64) |