aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-05-30 17:04:53 +0930
committerAlan Modra <amodra@gmail.com>2022-05-30 19:00:04 +0930
commiteab286a7c8d990cce4d01a5c30cfe1c06823217b (patch)
tree445ee04a14292b2c0f5f1b36a8c26dcf2d751c6b /libiberty
parent7273d78f3f7ae3701512f1ff423430f51b011ece (diff)
downloadbinutils-eab286a7c8d990cce4d01a5c30cfe1c06823217b.zip
binutils-eab286a7c8d990cce4d01a5c30cfe1c06823217b.tar.gz
binutils-eab286a7c8d990cce4d01a5c30cfe1c06823217b.tar.bz2
Use a union to avoid casts in bfd/doc/chew.c
This fixes -Wpedantic warnings in chew.c. Conversion between function and object pointers is not guaranteed. They can even be different sizes, not that we're likely to encounter build machines like that nowadays. PR 29194 * doc/chew.c (pcu): New union typedef. (dict_type, pc): Use it here. Adjust uses of pc. (add_to_definition): Make "word" param a pcu. Adjust all uses of function. (stinst_type): Delete.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions