forked from Imagelibrary/binutils-gdb
Fix problems in the sim sources discovered by running the cppcheck static analysis tool.
erc32 PR 18273 * sis.c (main): Remove unreachable code. m68hc11 * gencode.c (gen_fetch_operands): Remove unreachable code. ppc * hw_htab.c (htab_map_binary): Fix overlap check. common * sim-fpu.c (INLINE_SIM_FPU): Fix static analysis warning by increasing parenthesis around casts to signed values.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2015-04-29 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 18273
|
||||
* hw_htab.c (htab_map_binary): Fix overlap check.
|
||||
|
||||
2015-04-13 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* Makefile.in (version.o): Change to using create-version.sh from gdb.
|
||||
|
||||
@@ -549,7 +549,7 @@ htab_map_binary(device *me,
|
||||
if ((sizes.text_base <= sizes.data_base
|
||||
&& sizes.text_bound >= sizes.data_bound)
|
||||
|| (sizes.data_base <= sizes.text_base
|
||||
&& sizes.data_bound >= sizes.data_bound)
|
||||
&& sizes.data_bound >= sizes.text_bound)
|
||||
|| (sizes.text_bound > sizes.data_base
|
||||
&& sizes.text_bound <= sizes.data_bound)
|
||||
|| (sizes.text_base >= sizes.data_base
|
||||
|
||||
Reference in New Issue
Block a user