8sa1-binutils-gdb/sim/aarch64
Jim Wilson 0592e80bcf Aarch64 sim fix for gcc-10 miscompilation.
This fixes a problem that occurs when compiled by gcc-10, as the code
is relying on undefined overflow behavior.  This is fixed by replacing
compares between 32-bit and 64-bit results with compares that just use
the 64-bit results with a cast.

	PR sim/27483
	* simulator.c (set_flags_for_add32): Compare uresult against
	itself.  Compare sresult against itself.
2021-04-07 18:51:52 -07:00
..
aclocal.m4 sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
ChangeLog Aarch64 sim fix for gcc-10 miscompilation. 2021-04-07 18:51:52 -07:00
config.in sim: clean up C11 header includes 2021-01-11 08:05:54 -05:00
configure sim: unify toolchain settings 2021-04-02 23:31:14 -04:00
configure.ac sim: common: split up acinclude.m4 into individual m4 files 2021-02-21 02:20:19 -05:00
cpustate.c
cpustate.h
decode.h
interp.c
Makefile.in
memory.c
memory.h
sim-main.h
simulator.c Aarch64 sim fix for gcc-10 miscompilation. 2021-04-07 18:51:52 -07:00
simulator.h