https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128865
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <[email protected]>: https://gcc.gnu.org/g:94f538f91784bfb1c23d77271e7cc45366639eb9 commit r17-6676-g94f538f91784bfb1c23d77271e7cc45366639eb9 Author: Jakub Jelinek <[email protected]> Date: Wed Nov 25 09:56:30 2026 +0100 tree: Fix _BitInt enum handling in signed_or_unsigned_type_for [PR128865] This is a spot I've apparently missed when adding support for C2Y enums with underlying _BitInt type. Even for those we want for {,un}signed_type_for to return {,un}signed_type_for of the underlying type (i.e. some _BitInt) rather than build_nonstandard_integer_type. 2026-11-25 Jakub Jelinek <[email protected]> PR middle-end/128865 * tree.cc (signed_or_unsigned_type_for): Test BITINT_TYPE_P (type) rather than TREE_CODE (type) == BITINT_TYPE whether to call build_bitint_type. * gcc.dg/bitint-151.c: New test. Reviewed-by: Richard Biener <[email protected]>
