On 9/10/25 03:12, Stefan Schulze Frielinghaus wrote:
Ping.
On Wed, Aug 27, 2025 at 07:40:38AM +0200, Stefan Schulze Frielinghaus wrote:
Bootstrapped and regtested on x86_64 and s390. Ok for mainline?
-- >8 --
In case an asm operand is an error node, constraints etc. are still
validated. Furthermore, all other operands are gimplified, although an
error is returned in the end anyway. For hard register constraints an
operand is required in order to determine the mode from which the number
of registers follows. Therefore, instead of adding extra guards, bail
out early.
gcc/ChangeLog:
PR 121391
* gimplify.cc (gimplify_asm_expr): In case an asm operand is an
error node, bail out early.
gcc/testsuite/ChangeLog:
* gcc.dg/pr121391-1.c: New test.
* gcc.dg/pr121391-2.c: New test.
OK. Sorry for the long delay.
jeff