diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-09 23:54:01 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-12-09 23:54:01 +0000 |
commit | a6bbccc16ab103200f32334351dc57b5838c9dd4 (patch) | |
tree | 57341f6e2c1ac600113f5797665b9c84f0d000d3 /gcc/hooks.c | |
parent | 8c3ad36d400b606ebd98a6ce8d0cd61a417a7fc7 (diff) | |
download | gcc-a6bbccc16ab103200f32334351dc57b5838c9dd4.tar.gz |
* target.h (gcc_target): Add cannot_force_const_mem.
* target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New.
(TARGET_INITIALIZER): Add it.
* varasm.c (force_const_mem): Fail if cannot_force_const_mem.
* expr.c (emit_move_insn): Be prepared for force_const_mem to fail.
* reload1.c (reload): Likewise.
* hooks.c (hook_bool_rtx_false): New.
* hooks.h: Declare it.
* config/i386/i386.c (ix86_cannot_force_const_mem): New.
(TARGET_CANNOT_FORCE_CONST_MEM): New.
(ix86_expand_move): Remove de-const-pooling hack.
* gcc.dg/tls/opt-4.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59971 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r-- | gcc/hooks.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c index 6569a38d7a0..3f212ef3e1b 100644 --- a/gcc/hooks.c +++ b/gcc/hooks.c @@ -114,3 +114,10 @@ hook_bool_tree_false (a) { return false; } + +bool +hook_bool_rtx_false (a) + rtx a ATTRIBUTE_UNUSED; +{ + return false; +} |