Skip to content
Snippets Groups Projects
Commit 85aef79f authored by Richard Guenther's avatar Richard Guenther Committed by Richard Biener
Browse files

re PR middle-end/30198 (__real / __imag cexpi (x) can be folded to cos (x) / sin (x))

2006-12-14  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/30198
	* fold-const.c (fold_unary): Fold REALPART_EXPR of cexpi to cos.
	Fold IMAGPART_EXPR of cexpi to sin.

	* gcc.dg/builtins-60.c: New testcase.

From-SVN: r119858
parent bbea461b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment