https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105166
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:4be08315124281f4e9359bc7e5279a99bdbdd053 commit r12-8019-g4be08315124281f4e9359bc7e5279a99bdbdd053 Author: Richard Biener <rguent...@suse.de> Date: Wed Apr 6 10:40:06 2022 +0200 ipa/105166 - avoid modref queries with mismatching types We should avoid mismatched argument values (integers for pointers) when doing modref queries. This is the third place to guard. 2022-04-06 Richard Biener <rguent...@suse.de> PR ipa/105166 * ipa-modref-tree.cc (modref_access_node::get_ao_ref ): Bail out for non-pointer arguments. * gcc.dg/torture/pr105166.c: New testcase.