aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>2025-09-15 09:10:53 +0200
committerStefan Schulze Frielinghaus <stefansf@gcc.gnu.org>2025-09-15 09:10:53 +0200
commit4cff794ca18a96ceeb83ccb18b08ffa0a63c58af (patch)
treeb07ce1f3951da47b6979ab92d4bc68d89dc4c224 /libstdc++-v3/configure
parent8d264d90a22d5e13c876a4f352c702c7f5bc4f0b (diff)
downloadgcc-4cff794ca18a96ceeb83ccb18b08ffa0a63c58af.zip
gcc-4cff794ca18a96ceeb83ccb18b08ffa0a63c58af.tar.gz
gcc-4cff794ca18a96ceeb83ccb18b08ffa0a63c58af.tar.bz2
Bail out early during gimplify_asm_expr [PR121391]
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 middle-end/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.
Diffstat (limited to 'libstdc++-v3/configure')
0 files changed, 0 insertions, 0 deletions