aboutsummaryrefslogtreecommitdiff
path: root/intl/bindtextdom.c
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2023-09-07 09:59:10 -0400
committerVladimir N. Makarov <vmakarov@redhat.com>2023-09-07 10:04:11 -0400
commitf7bca44d97ad01b39f9d6e7809df7bf517eeb2fb (patch)
tree663c6e73aad70edb9bb22e2b01a2da4fd0f271fa /intl/bindtextdom.c
parent6aba1fa7a4ceaf66adc587da23834d1f317f871d (diff)
downloadgcc-f7bca44d97ad01b39f9d6e7809df7bf517eeb2fb.zip
gcc-f7bca44d97ad01b39f9d6e7809df7bf517eeb2fb.tar.gz
gcc-f7bca44d97ad01b39f9d6e7809df7bf517eeb2fb.tar.bz2
[LRA]: Don't reuse chosen insn alternative with special memory constraint
To speed up GCC, LRA reuses chosen alternative from previous constraint subpass. A spilled pseudo is considered ok for any memory constraint although stack slot assigned to the pseudo later might not satisfy the chosen alternative constraint. As we don't consider all insn alternatives on the subsequent LRA sub-passes, it might result in LRA failure to generate the correct insn. This patch solves the problem. gcc/ChangeLog: PR target/111225 * lra-constraints.cc (goal_reuse_alt_p): New global flag. (process_alt_operands): Set up the flag. Clear flag for chosen alternative with special memory constraints. (process_alt_operands): Set up used insn alternative depending on the flag. gcc/testsuite/ChangeLog: PR target/111225 * gcc.target/i386/pr111225.c: New test.
Diffstat (limited to 'intl/bindtextdom.c')
0 files changed, 0 insertions, 0 deletions