Ensure *valuep always written by extract_normal return

* 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.
This commit is contained in:
Alan Modra 2020-02-11 09:11:18 +10:30
parent 212a0131eb
commit 2f5dd314d6
16 changed files with 68 additions and 15 deletions

View 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.

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}

View 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);
}