[Bug target/104967] ICE: Segmentation fault (in find_instance)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 24 01:47:58 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104967
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Kewen Lin <linkw@gcc.gnu.org>:
https://gcc.gnu.org/g:497bde3ab92b2c292f78672db341bbb7cc1bcf1f
commit r12-7792-g497bde3ab92b2c292f78672db341bbb7cc1bcf1f
Author: Kewen Lin <linkw@linux.ibm.com>
Date: Wed Mar 23 20:46:06 2022 -0500
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.
More information about the Gcc-bugs
mailing list