Ensure *valuep always written by extract_normal return
[deliverable/binutils-gdb.git] / opcodes / cgen-ibld.in
index 9d856cda83942967d5624b2a357aaa1a96fce893..6a9b97fcb5749291a94e649988e2951341e4920d 100644 (file)
@@ -479,7 +479,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);
     }
This page took 0.023129 seconds and 4 git commands to generate.