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 FP reassociation #2


On Wed, 20 Feb 2008, Richard Guenther wrote:

> 
> While we honor flag_associative_math in the fold_binary re-association
> code, split_tree which is used by it unconditionally bails out for
> FP types.
> 
> Bootstrap and regtest in progress, I'll apply this if it succeeds.
> 
> Richard.
> 
> 2008-02-20  Richard Guenther  <rguenther@suse.de>
> 
> 	* fold-const.c (split_tree): Associate floatig-point expressions
> 	if flag_associative_math is set.
> 
> 	* gcc.dg/fold-reassoc-1.c: New testcase.

Actually that needs adjustment of gcc.dg/tree-ssa/recip-3.c to
not compute d/d.

Committed with that change.

Richard.


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