https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70941
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Fri May 6 07:38:27 2016 New Revision: 235943 URL: https://gcc.gnu.org/viewcvs?rev=235943&root=gcc&view=rev Log: 2016-05-06 Richard Biener <rguent...@suse.de> PR middle-end/70941 * fold-const.c (split_tree): Always convert to the original type before negating. * gcc.dg/torture/pr70941.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/torture/pr70941.c Modified: trunk/gcc/ChangeLog trunk/gcc/fold-const.c trunk/gcc/testsuite/ChangeLog