aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/cstreams.c
diff options
context:
space:
mode:
authorKewen Lin <linkw@linux.ibm.com>2022-09-26 00:33:18 -0500
committerKewen Lin <linkw@linux.ibm.com>2022-09-26 00:33:18 -0500
commit5be0950d22209f5ba69d244387228e12389a8470 (patch)
treede35f0774f29e8d0c43ff1969b60b111b71a894a /gcc/ada/cstreams.c
parent9c9cf4f087f28dc3bf8dfa769380b3b58728a0f7 (diff)
downloadgcc-5be0950d22209f5ba69d244387228e12389a8470.zip
gcc-5be0950d22209f5ba69d244387228e12389a8470.tar.gz
gcc-5be0950d22209f5ba69d244387228e12389a8470.tar.bz2
rs6000: Fix the condition with frame_pointer_needed_indeed [PR96072]
As PR96072 shows, the code adding REG_CFA_DEF_CFA reg note makes one assumption that we have emitted one insn which restores the frame pointer previously. That part of code was guarded with flag frame_pointer_needed before, it was consistent, but it was replaced with flag frame_pointer_needed_indeed since commit r10-7981. It caused ICE due to unexpected NULL insn. PR target/96072 gcc/ChangeLog: * config/rs6000/rs6000-logue.cc (rs6000_emit_epilogue): Update the condition for adding REG_CFA_DEF_CFA reg note with frame_pointer_needed_indeed. gcc/testsuite/ChangeLog: * gcc.target/powerpc/pr96072.c: New test.
Diffstat (limited to 'gcc/ada/cstreams.c')
0 files changed, 0 insertions, 0 deletions