diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2020-04-16 23:26:41 -0500 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2020-04-16 23:26:41 -0500 |
commit | dd75498db79675a1a0b73c25e5f110969ee72d9d (patch) | |
tree | 2a922265561c7abda125081907967a1ef97345cf /gcc/tree-inline.c | |
parent | 5fb9a619eee6632f89d9d8df1515addb9a4a6404 (diff) | |
download | gcc-dd75498db79675a1a0b73c25e5f110969ee72d9d.zip gcc-dd75498db79675a1a0b73c25e5f110969ee72d9d.tar.gz gcc-dd75498db79675a1a0b73c25e5f110969ee72d9d.tar.bz2 |
rs6000: Fix ICE in decompose_normal_address. [PR93974]
Fix an ICE in decompose_normal_address(), which cannot handle Altivec AND:
addresses, by disallowing them via implementing the target hook
rs6000_cannot_substitute_mem_equiv_p.
gcc/
PR rtl-optimization/93974
* config/rs6000/rs6000.c (TARGET_CANNOT_SUBSTITUTE_MEM_EQUIV_P): Define.
(rs6000_cannot_substitute_mem_equiv_p): New function.
gcc/testsuite/
PR rtl-optimization/93974
* g++.dg/pr93974.C: New test.
Diffstat (limited to 'gcc/tree-inline.c')
0 files changed, 0 insertions, 0 deletions