This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR27116, negate_expr bug


Richard Guenther <rguenther@suse.de> writes:

> 2006-06-08  Richard Guenther  <rguenther@suse.de>
> 
> 	PR middle-end/27116
> 	* fold-const.c (negate_expr_p): We can negate BIT_NOT_EXPR
> 	only, if overflow is defined and not trapping.
> 	(negate_expr): Likewise.
> 
> 	* gcc.dg/torture/pr27116.c: New testcase.
> 	* gcc.dg/pr15785-1.c: Remove test for invalid transformation.

This is OK.

Thanks.

:REVIEWMAIL:

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]