[Bug middle-end/126622] wide_int_to_tree vs build_int_cst (and build_int_cstu) vs build_int_cst_type

kaelfandrew at gmail dot com via Gcc-bugs <[email protected]> Tue, 04 Aug 2026 21:09:11 +0000
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126622

--- Comment #2 from Kael Franco <kaelfandrew at gmail dot com> ---
(In reply to Richard Biener from comment #1)
> I wonder whether overloading would work here, you forgot built_int_cstu
> btw.
> 
> So I'd have built_int_cst (tree type, {wide(st)_int, HWI, UHWI})?

Also double_int_to_tree (tree type, double_int cst).