Ensure *valuep always written by extract_normal return
authorAlan Modra <amodra@gmail.com>
Mon, 10 Feb 2020 22:41:18 +0000 (09:11 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 11 Feb 2020 01:44:01 +0000 (12:14 +1030)
* cgen-ibld.in (extract_normal): Set *valuep on all return paths.
* bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
* ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
* m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
* xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.

16 files changed:
opcodes/ChangeLog
opcodes/bpf-ibld.c
opcodes/cgen-ibld.in
opcodes/epiphany-ibld.c
opcodes/fr30-ibld.c
opcodes/frv-ibld.c
opcodes/ip2k-ibld.c
opcodes/iq2000-ibld.c
opcodes/lm32-ibld.c
opcodes/m32c-ibld.c
opcodes/m32r-ibld.c
opcodes/mep-ibld.c
opcodes/mt-ibld.c
opcodes/or1k-ibld.c
opcodes/xc16x-ibld.c
opcodes/xstormy16-ibld.c

index 7ab3a819a7737e07e9f975946ee338c4bcaef4d1..1e0205678d81f3eedaab235c7a7023259c0f1997 100644 (file)
@@ -1,3 +1,11 @@
+2020-02-11  Alan Modra  <amodra@gmail.com>
+
+       * cgen-ibld.in (extract_normal): Set *valuep on all return paths.
+       * bpf-ibld.c, * epiphany-ibld.c, * fr30-ibld.c, * frv-ibld.c,
+       * ip2k-ibld.c, * iq2000-ibld.c, * lm32-ibld.c, * m32c-ibld.c,
+       * m32r-ibld.c, * mep-ibld.c, * mt-ibld.c, * or1k-ibld.c,
+       * xc16x-ibld.c, * xstormy16-ibld.c: Regenerate.
+
 2020-02-10  Matthew Malcomson  <matthew.malcomson@arm.com>
 
        * arm-dis.c (print_insn_cde): Define 'V' parse character.
index 8b73f2f09bd93d005e2590585d5505f90625e605..d5fa57a1c4a6ec9b26fcf0c53737426ab76d5db8 100644 (file)
@@ -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);
     }
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);
     }
index 64b3d381e5c3514b167c2743f7429d798b129ff8..c23a969294ebdcfd0fda3f2770bb0bc3e78ab7e1 100644 (file)
@@ -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);
     }
index ea4ea0a6aac9dc4e26b417b1be3677cb2334aa47..5544d550f52cd91d17e867cbf5e695990c475550 100644 (file)
@@ -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);
     }
index 5e31df272ee4b1cb962003cce93cd6c7b8f7e981..0421884908714461a69f9136baa1b11c7881667e 100644 (file)
@@ -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);
     }
index a7dd80ce005b8e38c756c516e43568f187311260..9258f7d3ad87cd16c6f48b473d6874e751c7e2b0 100644 (file)
@@ -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);
     }
index 1e5cc4772eaf732bd90b20bc45b8129229a8f69f..319e994d84050417775689e14b7997ac0747ab0a 100644 (file)
@@ -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);
     }
index 0a5e54a5c8d9456b8ca81f53d490a20a0b0fea1c..9b594e8e0e248561cdf96281a1aed8e465f2bb27 100644 (file)
@@ -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);
     }
index 36231f26dd960d83623f79823d4fbe4218b7917b..c1fca2e169813ff752f7a819f19f9054149fbb0f 100644 (file)
@@ -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);
     }
index 8d5ce60db6d45db8244e03c7378a31eee992f351..ddebc32428ec0483c3eeefc168910db133670bc2 100644 (file)
@@ -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);
     }
index c1d2e396b92834f51da5c039500ca8066535a5f2..6a73f419c9848579e16180d0969384428648a0d8 100644 (file)
@@ -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);
     }
index 92dc6bc49f5090f91363dddd555d74f39558ec23..53a0775f7af1d37e5e9a941bbfb7c2f662dbf368 100644 (file)
@@ -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);
     }
index cc2955f04169c1ec0ae2670e1d7aa7e172ed536f..d802a98462bf11a3836e0ce33074b74a9a716312 100644 (file)
@@ -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);
     }
index 5929ded7ded455ac89b2e6b9766d3cd4c5059da5..6b228bcdfcdefeb02f7981ca51bbc0561429f5d0 100644 (file)
@@ -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);
     }
index 69555cb3e0f5450a8a7e3c1d33cc2dcf7e3b8c7b..70cf88d546bdf68d6e74d67e471166b4355e1fea 100644 (file)
@@ -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);
     }
This page took 0.030547 seconds and 4 git commands to generate.