diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-23 19:37:40 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-23 19:37:40 +0000 |
commit | 10ada81fea4490f94ba2eb5923bf5baa367a38bd (patch) | |
tree | 437dca120093cc7b1f6debf6f6b31779526c7192 /gcc/config/rx/rx.c | |
parent | 95a236de8aa10bf009e9368dfd28f95a980e5570 (diff) | |
parent | 3bd7a983695352a99f7dd597725eb5b839d4b4cf (diff) | |
download | gcc-ifunc.tar.gz |
Merged with trunk at revision 162480.ifunc
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ifunc@162483 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rx/rx.c')
-rw-r--r-- | gcc/config/rx/rx.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index 2219efe8559..c81ef4c1771 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -40,6 +40,7 @@ #include "optabs.h" #include "libfuncs.h" #include "recog.h" +#include "diagnostic-core.h" #include "toplev.h" #include "reload.h" #include "df.h" @@ -2189,6 +2190,14 @@ rx_set_optimization_options (void) } } +static void +rx_option_override (void) +{ + /* This target defaults to strict volatile bitfields. */ + if (flag_strict_volatile_bitfields < 0) + flag_strict_volatile_bitfields = 1; +} + static bool rx_allocate_stack_slots_for_args (void) @@ -2777,6 +2786,9 @@ rx_memory_move_cost (enum machine_mode mode, enum reg_class regclass, bool in) #undef TARGET_MEMORY_MOVE_COST #define TARGET_MEMORY_MOVE_COST rx_memory_move_cost +#undef TARGET_OPTION_OVERRIDE +#define TARGET_OPTION_OVERRIDE rx_option_override + struct gcc_target targetm = TARGET_INITIALIZER; /* #include "gt-rx.h" */ |