https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86271
--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Jun 26 06:40:43 2018 New Revision: 262131 URL: https://gcc.gnu.org/viewcvs?rev=262131&root=gcc&view=rev Log: 2018-06-26 Richard Biener <rguent...@suse.de> PR middle-end/86271 * fold-const.c (fold_convertible_p): Pointer extension isn't valid. * gcc.dg/pr86271.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr86271.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog