2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-03-29 07:10:24 +08:00

Author: Gunther Nikl <gnikl@users.sourceforge.net>

* common/config/m68k/m68k-common.c (m68k_handle_option): Set
gcc_options fields of opts_set for -m68020-40 and -m68020-60.

From-SVN: r192851
This commit is contained in:
Gunther Nikl 2012-10-26 17:29:06 +00:00 committed by Andreas Schwab
parent ca3f371f12
commit 9eaff65375
2 changed files with 10 additions and 1 deletions
gcc
ChangeLog
common/config/m68k

@ -1,3 +1,8 @@
2012-10-26 Gunther Nikl <gnikl@users.sourceforge.net>
* common/config/m68k/m68k-common.c (m68k_handle_option): Set
gcc_options fields of opts_set for -m68020-40 and -m68020-60.
2012-10-26 Teresa Johnson <tejohnson@google.com>
* ree.c (add_removable_extension): Remove unnecessary

@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see
static bool
m68k_handle_option (struct gcc_options *opts,
struct gcc_options *opts_set ATTRIBUTE_UNUSED,
struct gcc_options *opts_set,
const struct cl_decoded_option *decoded,
location_t loc)
{
@ -45,12 +45,16 @@ m68k_handle_option (struct gcc_options *opts,
{
case OPT_m68020_40:
opts->x_m68k_tune_option = u68020_40;
opts_set->x_m68k_tune_option = (uarch_type) 1;
opts->x_m68k_cpu_option = m68020;
opts_set->x_m68k_cpu_option = (target_device) 1;
return true;
case OPT_m68020_60:
opts->x_m68k_tune_option = u68020_60;
opts_set->x_m68k_tune_option = (uarch_type) 1;
opts->x_m68k_cpu_option = m68020;
opts_set->x_m68k_cpu_option = (target_device) 1;
return true;
case OPT_mshared_library_id_: