https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71230
--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue May 24 14:35:36 2016 New Revision: 236643 URL: https://gcc.gnu.org/viewcvs?rev=236643&root=gcc&view=rev Log: 2016-05-24 Richard Biener <rguent...@suse.de> PR tree-optimization/71230 * tree-ssa-reassoc.c (zero_one_operation): Handle negate special ops. * gcc.dg/torture/pr71230.c: New testcase. * g++.dg/torture/pr71230.C: Likewise. Added: trunk/gcc/testsuite/g++.dg/torture/pr71230.C trunk/gcc/testsuite/gcc.dg/torture/pr71230.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-reassoc.c