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 PR34130, extract_muldiv broken


Richard Guenther writes:
> 
> It folds -C*ABS<n> to ABS<-C*n>.  Anyone else thinks this function needs
> to go? :/
> 
> Bootstrapped & tested on x86_64-unknown-linux-gnu, applied to mainline.
> 
> Richard.
> 
> 2007-11-17  Richard Guenther  <rguenther@suse.de>
> 
> 	PR middle-end/34130
> 	* fold-const.c (extract_muldiv_1): Do not move negative
> 	constants inside ABS_EXPR.
> 
> 	* gcc.c-torture/execute/pr34130.c: New testcase.

The same patch applies to the 4.2 branch as well. checked on
sparc-linux-gnu without regressions. Ok to checkin?

Currently running the testsuite on the 4.1 branch. Ok to check in on
this branch, if the testsuite succeeds without regressions?

  Matthias


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