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 folding of ABS_EXPR


On Fri, Nov 26, 2004 at 11:22:50AM -0500, Jakub Jelinek wrote:
> 	* fold-const.c (extract_muldiv_1) <case ABS_EXPR>: If ctype is
> 	unsigned and type signed, build ABS_EXPR with signed_type (ctype)
> 	and only afterwards convert to ctype.
> 	* gcc.c-torture/execute/20041126-1.c: New test.

Ok.


r~


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