summaryrefslogtreecommitdiff
path: root/gcc/config/v850/v850.md
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-28 15:56:53 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-28 15:56:53 +0000
commita1a9574846dde2b1a49f42be932cbd55ff85c467 (patch)
tree9956f293d36d3b2c87545e2b36d40076e9e8116c /gcc/config/v850/v850.md
parent524d1306e00e8559466ca5c4a2516c0833cb9af7 (diff)
downloadgcc-a1a9574846dde2b1a49f42be932cbd55ff85c467.tar.gz
config/v850/v850.h (GO_IF_LEGITIMATE_ADDRESS): Tidy up formatting.
Add check to PLUS case to ensure that the offset is within an acceptable range. config/v850/v850.md (casesi): Disable the generation of the switch pattern as it is not being handled properly at the moment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104736 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/v850/v850.md')
-rw-r--r--gcc/config/v850/v850.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/v850/v850.md b/gcc/config/v850/v850.md
index 15c0cafbb7c..e67dc40b999 100644
--- a/gcc/config/v850/v850.md
+++ b/gcc/config/v850/v850.md
@@ -1309,7 +1309,9 @@
/* Branch to the default label if out of range of the table. */
emit_jump_insn (gen_bgtu (operands[4]));
- if (! TARGET_BIG_SWITCH && TARGET_V850E)
+ /* Disabled because the switch pattern is not being recognised
+ properly at the moment. eg. compiling vfscanf.c in newlib. */
+ if (0 && ! TARGET_BIG_SWITCH && TARGET_V850E)
{
emit_jump_insn (gen_switch (reg, operands[3]));
DONE;