]> git.ipfire.org Git - thirdparty/gcc.git/commit
bitint: fix inconsistency in bitint_precision_kind
authorAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 30 Sep 2025 09:57:46 +0000 (10:57 +0100)
committerAndre Vieira <andre.simoesdiasvieira@arm.com>
Tue, 30 Sep 2025 09:57:46 +0000 (10:57 +0100)
commit5173a61b68074b168b3101a9f815b579089aac76
tree998fc2296a7f7868a0c33f722cd15f656a8f1ae8
parentfb0702c6bd2d265aed452ba96e639d0ec4847d4f
bitint: fix inconsistency in bitint_precision_kind

This patch fixes an issue where the first call to bitint_precision_kind would
return the bitint kind, which was also inconsistent with subsequent calls with
the same bitint size.

gcc/ChangeLog:

* gimple-lower-bitint.cc (bitint_precision_kind): Fix inconsistency in
results between first and consecutive calls to this function.
gcc/gimple-lower-bitint.cc