r235943 - in /trunk/gcc: ChangeLog fold-const.c...

rguenth@gcc.gnu.org rguenth@gcc.gnu.org
Fri May 6 07:38:00 GMT 2016


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  <rguenther@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



More information about the Gcc-cvs mailing list