aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/h8300/ChangeLog4
-rw-r--r--sim/h8300/compile.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index cd47d25..2b2c6a7 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,5 +1,9 @@
2021-04-08 Tom Tromey <tom@tromey.com>
+ * compile.c (init_pointers): Fix sequence point warning.
+
+2021-04-08 Tom Tromey <tom@tromey.com>
+
* compile.c (cmdline_location): Use new-style declaration.
2021-04-02 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c
index c30a738..c8060b2 100644
--- a/sim/h8300/compile.c
+++ b/sim/h8300/compile.c
@@ -1624,7 +1624,8 @@ init_pointers (SIM_DESC sd)
sim_io_printf
(sd,
"init_pointers: bad memory size %d, defaulting to %d.\n",
- memory_size, memory_size = H8300S_MSIZE);
+ memory_size, H8300S_MSIZE);
+ memory_size = H8300S_MSIZE;
}
if (h8_get_memory_buf (sd))