+2015-04-29 Nick Clifton <nickc@redhat.com>
+
+ PR 18273
+ * sim-fpu.c (INLINE_SIM_FPU): Fix static analysis warning by
+ increasing parenthesis around casts to signed values.
+
+
2015-04-21 Mike Frysinger <vapier@gentoo.org>
* gennltvals.sh: Add mcore support.
/* sign? */
f->class = sim_fpu_class_number;
- if ((signed64) f->fraction >= 0)
+ if (((signed64) f->fraction) >= 0)
f->sign = 0;
else
{
/* sign? */
f->class = sim_fpu_class_number;
- if ((signed64) f->fraction >= 0)
+ if (((signed64) f->fraction) >= 0)
f->sign = 0;
else
{
+2015-04-29 Nick Clifton <nickc@redhat.com>
+
+ PR 18273
+ * sis.c (main): Remove unreachable code.
+
2015-04-24 David Binderman <dcb314@hotmail.com>
Nick Clifton <nickc@redhat.com>
while (stat < argc) {
if (argv[stat][0] == '-') {
if (strcmp(argv[stat], "-v") == 0) {
- sis_verbose = 1;
+ sis_verbose += 1;
} else if (strcmp(argv[stat], "-c") == 0) {
if ((stat + 1) < argc) {
copt = 1;
#endif
} else if (strcmp(argv[stat], "-dumbio") == 0) {
dumbio = 1;
- } else if (strcmp(argv[stat], "-v") == 0) {
- sis_verbose += 1;
} else {
printf("unknown option %s\n", argv[stat]);
usage();
+2015-04-29 Nick Clifton <nickc@redhat.com>
+
+ PR 18273
+ * gencode.c (gen_fetch_operands): Remove unreachable code.
+
2015-04-18 Mike Frysinger <vapier@gentoo.org>
* sim-main.h (SIM_CPU): Delete.
vars[cur_var], operand_size, operand_size);
operands += 1;
}
+#if 0 /* This code is never executed (see strncmp above), but it has not been
+ removed because it may be that there is a typo in strncmp test below. */
else if (strncmp (operands, "]", 1) == 0)
{
current_insn_size += 1;
vars[cur_var], operand_size, operand_size);
operands += 1;
}
+#endif
else
{
fatal_error (opcode, "Unknown operand");
+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.
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