aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa.cc
diff options
context:
space:
mode:
authorRoger Sayle <roger@nextmovesoftware.com>2022-09-13 19:49:20 +0100
committerRoger Sayle <roger@nextmovesoftware.com>2022-09-13 19:49:20 +0100
commitff85f0afc7d5684378944f88a9bc9b931034788b (patch)
tree4066a80b17d87dc1ab05e4a4e0c41e0b04c9288d /gcc/tree-ssa.cc
parente11babbfac21163118b69dd25b468ade80dbe8de (diff)
downloadgcc-ff85f0afc7d5684378944f88a9bc9b931034788b.zip
gcc-ff85f0afc7d5684378944f88a9bc9b931034788b.tar.gz
gcc-ff85f0afc7d5684378944f88a9bc9b931034788b.tar.bz2
PR target/106877: Robustify reg-stack to malformed asm.
This patch resolves PR target/106877 an ICE-on-invalid inline-asm regression. An innocent upstream change means that the test case from PR inline-asm/84683 now hits a different assert in reg-stack.cc's move_for_stack_reg. Fixed by duplicating Jakub's solution to PR 84683 https://gcc.gnu.org/pipermail/gcc-patches/2018-March/495193.html at this second (similar) gcc_assert. 2022-09-13 Roger Sayle <roger@nextmovesoftware.com> gcc/ChangeLog PR target/106877 * reg-stack.cc (move_for_stack_reg): Check for any_malformed_asm in gcc_assert. gcc/testsuite/ChangeLog PR target/106877 * g++.dg/ext/pr106877.C: New test case.
Diffstat (limited to 'gcc/tree-ssa.cc')
0 files changed, 0 insertions, 0 deletions