diff options
author | Alan Modra <amodra@gmail.com> | 2025-04-16 07:12:46 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2025-04-18 18:36:39 +0930 |
commit | f04146a96be59b603ca36eac0bb4f244bc29c7af (patch) | |
tree | b5e3bc49b3f60ae536908db0755d853f1e9c1856 /gdb/testsuite/gdb.python/py-missing-objfile.py | |
parent | 637e0dfb04a6d3b0453c88f696ce053d978140e6 (diff) | |
download | binutils-f04146a96be59b603ca36eac0bb4f244bc29c7af.zip binutils-f04146a96be59b603ca36eac0bb4f244bc29c7af.tar.gz binutils-f04146a96be59b603ca36eac0bb4f244bc29c7af.tar.bz2 |
loongarch gas resolving constant expressions
The test added in commit 4fe96ddaf614 results in an asan complaint:
loongarch-parse.y:225:16: runtime error: left shift of negative value -1
To avoid the complaint, perform left shifts as unsigned (which gives
the same result on 2's complement machines). Do the same for
addition, subtraction and multiplication. Furthermore, warn on
divide/modulus by zero.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-missing-objfile.py')
0 files changed, 0 insertions, 0 deletions