aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2021-08-31 23:35:15 +0200
committerThomas Schwinge <thomas@codesourcery.com>2021-11-15 17:57:54 +0100
commitf861ed8b29a5eb6164d1ddbcfbb6232dddae713f (patch)
tree45828755f57b256a48feada408ba90b1733b42ab /gcc/gimple-fold.c
parentbcebd05720540e257b520737de6e087a328c1f8b (diff)
downloadgcc-f861ed8b29a5eb6164d1ddbcfbb6232dddae713f.zip
gcc-f861ed8b29a5eb6164d1ddbcfbb6232dddae713f.tar.gz
gcc-f861ed8b29a5eb6164d1ddbcfbb6232dddae713f.tar.bz2
Use 'location_hash' for 'gcc/diagnostic-spec.h:nowarn_map'
Instead of hard-coded '0'/'UINT_MAX', we now use the 'RESERVED_LOCATION_P' values 'UNKNOWN_LOCATION'/'BUILTINS_LOCATION' as spare values for 'Empty'/'Deleted', and generally simplify the code. gcc/ * diagnostic-spec.h (typedef xint_hash_t) (typedef xint_hash_map_t): Replace with... (typedef nowarn_map_t): ... this. (nowarn_map): Adjust. * diagnostic-spec.c (nowarn_map, suppress_warning_at): Likewise.
Diffstat (limited to 'gcc/gimple-fold.c')
0 files changed, 0 insertions, 0 deletions