diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2025-01-16 10:53:27 -0600 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2025-01-16 10:53:27 -0600 |
commit | 0696af74b3392e2178215607337b116d1bb53e34 (patch) | |
tree | 7a9ec042f9634bc61db8e13839347d0de0fd87ed /libgomp/testsuite/libgomp.c-c++-common/metadirective-target-device.c | |
parent | 1a2d63a78f99b7fdc2eff5bf9065682d5bbbaaca (diff) | |
download | gcc-0696af74b3392e2178215607337b116d1bb53e34.zip gcc-0696af74b3392e2178215607337b116d1bb53e34.tar.gz gcc-0696af74b3392e2178215607337b116d1bb53e34.tar.bz2 |
rs6000: Fix ICE for invalid constants in built-in functions
For invalid constant operand values used in built-in functions, return
const0_rtx to signify an error occurred during expansion.
2025-01-16 Peter Bergner <bergner@linux.ibm.com>
gcc/
* config/rs6000/rs6000-builtin.cc (rs6000_expand_builtin): Return
const0_rtx when there is an error.
gcc/testsuite/
* gcc.target/powerpc/mma-builtin-error.c: New test.
Diffstat (limited to 'libgomp/testsuite/libgomp.c-c++-common/metadirective-target-device.c')
0 files changed, 0 insertions, 0 deletions