[Bug target/103594] [12 Regression] ICE in get, at cgraph.h:1335 since r12-5771
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 7 13:25:17 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103594
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:
https://gcc.gnu.org/g:7ef68c37b3a46e69ed4a5ff6b2b368e2c9a8023f
commit r12-5822-g7ef68c37b3a46e69ed4a5ff6b2b368e2c9a8023f
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Dec 7 05:09:34 2021 -0800
x86: Check FUNCTION_DECL before calling cgraph_node::get
gcc/
PR target/103594
* config/i386/i386.c (ix86_call_use_plt_p): Check FUNCTION_DECL
before calling cgraph_node::get.
gcc/testsuite/
PR target/103594
* gcc.dg/pr103594.c: New test.
More information about the Gcc-bugs
mailing list