This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r121052 - in /trunk/gcc: ChangeLog passes.c tes...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 22 Jan 2007 11:11:01 -0000
- Subject: r121052 - in /trunk/gcc: ChangeLog passes.c tes...
Author: rguenth
Date: Mon Jan 22 11:11:00 2007
New Revision: 121052
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121052
Log:
2007-01-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/30038
* tree-ssa-math-opts.c (maybe_record_sincos): New static helper
function.
(execute_cse_sincos_1): Likewise.
(execute_cse_sincos): Likewise.
(gate_cse_sincos): Likewise.
(pass_cse_sincos): New pass CSEing sin() and cos() calls using
the cexpi() canonicalization of sincos().
* tree-pass.h (pass_cse_sincos): Declare.
* passes.c (init_optimization_passes): New pass pas_cse_sincos.
* gcc.dg/builtins-62.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.dg/builtins-62.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/passes.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-pass.h
trunk/gcc/tree-ssa-math-opts.c