lower-bitint: Handle uninitialized large/huge SSA_NAMEs as inline asm inputs [PR113699]
commit49e75666c592d23dfa17f062974e660edd01d5fb
authorJakub Jelinek <jakub@redhat.com>
Fri, 2 Feb 2024 10:27:37 +0000 (2 11:27 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 2 Feb 2024 10:30:05 +0000 (2 11:30 +0100)
treef3683b8ab1e7184fc501f6e9e0a1918414ee6291
parent5b069117e261ae0b438aee0cdff8707827810adf
lower-bitint: Handle uninitialized large/huge SSA_NAMEs as inline asm inputs [PR113699]

Similar problem to calls with uninitialized large/huge _BitInt SSA_NAME
arguments, var_to_partition will not work for those, but unlike calls
where we just create a new uninitialized SSA_NAME here we need to change
the inline asm input to be an uninitialized VAR_DECL.

2024-02-02  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/113699
* gimple-lower-bitint.cc (bitint_large_huge::lower_asm): Handle
uninitialized large/huge _BitInt SSA_NAME inputs.

* gcc.dg/bitint-81.c: New test.
gcc/gimple-lower-bitint.cc
gcc/testsuite/gcc.dg/bitint-81.c [new file with mode: 0644]