re PR c/67107 (ICE: SIGSEGV in tree_class_check with -frounding-math -funsafe-math...
authorRichard Biener <rguenther@suse.de>
Wed, 5 Aug 2015 07:42:54 +0000 (07:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 5 Aug 2015 07:42:54 +0000 (07:42 +0000)
commitf980c9a2622743e44456727a13c612b1c520c7f4
treed4c1f0de61807eb15b8c2176060fb95184232cce
parent1e928e07b22dd721d06501fb85a31360b55d3b8b
re PR c/67107 (ICE: SIGSEGV in tree_class_check with -frounding-math -funsafe-math-optimizations)

2015-08-05  Richard Biener  <rguenther@suse.de>

PR middle-end/67107
* match.pd: Guard const_binop result checking against NULL_TREE
result.

* gcc.dg/pr67107.c: New testcase.

From-SVN: r226609
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr67107.c [new file with mode: 0644]