about summary refs log tree commit diff
path: root/benchtests/ffs-inputs
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2020-10-01 13:59:13 +0200
committerAndreas Schwab <schwab@suse.de>2020-10-08 10:09:30 +0200
commitc0e9ddf59e73e21afe15fca4e94cf7b4b7359bf2 (patch)
tree01c560ccd7cc81242b051d0d0e8a6c920bd774cd /benchtests/ffs-inputs
parent8f8052c2aadebe05140c433b2fc9b2c04a0199e0 (diff)
downloadglibc-c0e9ddf59e73e21afe15fca4e94cf7b4b7359bf2.tar.gz
glibc-c0e9ddf59e73e21afe15fca4e94cf7b4b7359bf2.tar.xz
glibc-c0e9ddf59e73e21afe15fca4e94cf7b4b7359bf2.zip
__vfscanf_internal: fix aliasing violation (bug 26690)
As noted in <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97264>, the cast
in the call to the read_int function is an aliasing violation.  Change the
type of local variable f to a pointer to unsigned, which allows to
eliminate most casts while only adding three new ones.
Diffstat (limited to 'benchtests/ffs-inputs')
0 files changed, 0 insertions, 0 deletions