diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index cd47d25f02..2b2c6a73fc 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,7 @@ +2021-04-08 Tom Tromey + + * compile.c (init_pointers): Fix sequence point warning. + 2021-04-08 Tom Tromey * compile.c (cmdline_location): Use new-style declaration. diff --git a/sim/h8300/compile.c b/sim/h8300/compile.c index c30a738c6d..c8060b27ab 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))