https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85446
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Apr 19 07:46:54 2018 New Revision: 259488 URL: https://gcc.gnu.org/viewcvs?rev=259488&root=gcc&view=rev Log: PR tree-optimization/85446 * match.pd ((intptr_t) x eq/ne CST to x eq/ne (typeof x) cst): Require the integral and pointer types to have the same precision. Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd