aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpplib.h
diff options
context:
space:
mode:
authorPeter Bergner <bergner@linux.ibm.com>2022-08-31 21:14:36 -0500
committerPeter Bergner <bergner@linux.ibm.com>2022-08-31 21:15:59 -0500
commit2985049049f12b0aa3366ca244d387820385b9e8 (patch)
tree353205dd0fa6f0f681b5e849111c99b451789de4 /libcpp/include/cpplib.h
parente8c83ab9d5142a305bbd75c7ff0e41eae38433df (diff)
downloadgcc-2985049049f12b0aa3366ca244d387820385b9e8.zip
gcc-2985049049f12b0aa3366ca244d387820385b9e8.tar.gz
gcc-2985049049f12b0aa3366ca244d387820385b9e8.tar.bz2
rs6000: Don't ICE when we disassemble an MMA variable [PR101322]
When we expand an MMA disassemble built-in with C++ using a pointer that is cast to a valid MMA type, the type isn't passed down to the expand machinery and we end up using the base type of the pointer which leads to an ICE. This patch enforces we always use the correct MMA type regardless of the pointer type being used. 2022-08-31 Peter Bergner <bergner@linux.ibm.com> gcc/ PR target/101322 * config/rs6000/rs6000-builtin.cc (rs6000_gimple_fold_mma_builtin): Enforce the use of a valid MMA pointer type. gcc/testsuite/ PR target/101322 * g++.target/powerpc/pr101322.C: New test.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions