diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2022-03-23 20:46:06 -0500 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2022-03-23 20:47:14 -0500 |
commit | 497bde3ab92b2c292f78672db341bbb7cc1bcf1f (patch) | |
tree | 2377220e3757db4a665e7f37dc42a61fa9728cbe /gcc/fold-const.cc | |
parent | d1ca63a1b7d5986913b14567a4950b055a5a3f07 (diff) | |
download | gcc-497bde3ab92b2c292f78672db341bbb7cc1bcf1f.zip gcc-497bde3ab92b2c292f78672db341bbb7cc1bcf1f.tar.gz gcc-497bde3ab92b2c292f78672db341bbb7cc1bcf1f.tar.bz2 |
rs6000: Skip overload instances with NULL fntype [PR104967]
For some overload built-in function instance, if it requires
a data type which isn't defined on the target, its fntype
would be initialized as NULL. This patch is to consider
this possibility in function find_instance, as shown in
PR104967.
PR target/104967
gcc/ChangeLog:
* config/rs6000/rs6000-c.cc (find_instance): Skip instances with null
function types.
Diffstat (limited to 'gcc/fold-const.cc')
0 files changed, 0 insertions, 0 deletions