diff options
author | Martin Jambor <mjambor@suse.cz> | 2025-01-06 11:58:29 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2025-01-06 11:58:51 +0100 |
commit | 72b273152f75a8622ea13d0fe95d6d2461615ba4 (patch) | |
tree | da516689db41a7c5f656a3e75a953cc745e08c81 /gcc/fortran | |
parent | 668cad04b16fc044142474232ac072fcc5f94433 (diff) | |
download | gcc-72b273152f75a8622ea13d0fe95d6d2461615ba4.zip gcc-72b273152f75a8622ea13d0fe95d6d2461615ba4.tar.gz gcc-72b273152f75a8622ea13d0fe95d6d2461615ba4.tar.bz2 |
ipa-cp: Make dumping of bit masks representing -1 nicer
Dumps of the lattices representing bit-values and of propagation
results of bit-values can print a really long hexadecimal value when
the bit-value represents -1 (all bits set). This patch simply detect
that situation and prints the string "-1" in that case, making the
dumps somewhat nicer.
gcc/ChangeLog:
2025-01-03 Martin Jambor <mjambor@suse.cz>
* ipa-cp.cc (ipcp_print_widest_int): New function.
(ipcp_store_vr_results): Use it.
(ipcp_bits_lattice::print): Likewise. Fix formatting.
Diffstat (limited to 'gcc/fortran')
0 files changed, 0 insertions, 0 deletions