https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67107
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Aug 5 07:42:54 2015 New Revision: 226609 URL: https://gcc.gnu.org/viewcvs?rev=226609&root=gcc&view=rev Log: 2015-08-05 Richard Biener <rguent...@suse.de> PR middle-end/67107 * match.pd: Guard const_binop result checking against NULL_TREE result. * gcc.dg/pr67107.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/pr67107.c Modified: trunk/gcc/ChangeLog trunk/gcc/match.pd trunk/gcc/testsuite/ChangeLog