diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2021-02-25 21:35:28 -0600 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2021-02-25 21:35:28 -0600 |
commit | 0159535adb0e7400f2c6922f14a7602f6b90cf69 (patch) | |
tree | 4c8af9c720579a7205c7bffe1b84878f593d1765 /gcc/builtins.c | |
parent | b8d85f569a6dd44cb9561c95e5f628bd6cd531a5 (diff) | |
download | gcc-0159535adb0e7400f2c6922f14a7602f6b90cf69.zip gcc-0159535adb0e7400f2c6922f14a7602f6b90cf69.tar.gz gcc-0159535adb0e7400f2c6922f14a7602f6b90cf69.tar.bz2 |
rs6000: Fix ICE in rs6000_init_builtins when compiling with -mcpu=440 [PR99279]
The initialization of compat builtins assumes the builtin we are creating
a compatible builtin for exists and ICEs if it doesn't. However, there are
valid reasons why some builtins are disabled for a particular compile.
In this case, the MMA builtins are disabled for -mcpu=440 (and other cpus),
so instead of ICEing, we should just skip adding the MMA compat builtin.
2021-02-25 Peter Bergner <bergner@linux.ibm.com>
gcc/
PR target/99279
* config/rs6000/rs6000-call.c (rs6000_init_builtins): Replace assert
with an "if" test.
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions