diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-24 05:13:42 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-06 23:30:43 -0500 |
commit | 012c1f072f7f1611c86a912f0964e45136ea38cc (patch) | |
tree | 0349c03edfa8d83fe31e8890e762d4d52aae28da /gas/CONTRIBUTORS | |
parent | 6541385ca26947a6a212e942ec2a87afaa7b9f5c (diff) | |
download | gdb-012c1f072f7f1611c86a912f0964e45136ea38cc.zip gdb-012c1f072f7f1611c86a912f0964e45136ea38cc.tar.gz gdb-012c1f072f7f1611c86a912f0964e45136ea38cc.tar.bz2 |
sim: cris: add error fallbacks when decoding condition & swap codes
The condition & swap code decoder only checks known bits and sets
based on that. If the variable is out of range, it ends up returning
uninitialized data. Turn that case into a hard error.
This fixes build warnings like:
sim/cris/semcrisv10f-switch.c:13115:11: error:
variable 'tmp_condres' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
Diffstat (limited to 'gas/CONTRIBUTORS')
0 files changed, 0 insertions, 0 deletions