aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mt-ibld.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/mt-ibld.c')
-rw-r--r--opcodes/mt-ibld.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/opcodes/mt-ibld.c b/opcodes/mt-ibld.c
index 92dc6bc..53a0775 100644
--- a/opcodes/mt-ibld.c
+++ b/opcodes/mt-ibld.c
@@ -480,7 +480,10 @@ extract_normal (CGEN_CPU_DESC cd,
abort ();
if (fill_cache (cd, ex_info, word_offset / 8, word_length / 8, pc) == 0)
- return 0;
+ {
+ *valuep = 0;
+ return 0;
+ }
value = extract_1 (cd, ex_info, start, length, word_length, bufp, pc);
}