-
- Downloads
re PR middle-end/30197 (cexp ( __complex__ ( 0, x ) ) can be folded to cexpi (x))
2006-12-14 Richard Guenther <rguenther@suse.de> PR tree-optimization/30197 * builtins.c (fold_builtin_cexp): New function to fold cexp to cexpi and exp parts. * tree-ssa-pre.c (try_combine_conversion): Also handle REALPART_EXPR and IMAGPART_EXPR. * gcc.c-torture/execute/complex-1.c: Fix function name. * gcc.dg/builtins-61.c: New testcase. From-SVN: r119860
Showing
- gcc/ChangeLog 8 additions, 0 deletionsgcc/ChangeLog
- gcc/builtins.c 64 additions, 0 deletionsgcc/builtins.c
- gcc/testsuite/ChangeLog 6 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.c-torture/execute/complex-1.c 2 additions, 2 deletionsgcc/testsuite/gcc.c-torture/execute/complex-1.c
- gcc/testsuite/gcc.dg/builtins-61.c 31 additions, 0 deletionsgcc/testsuite/gcc.dg/builtins-61.c
- gcc/tree-ssa-pre.c 3 additions, 1 deletiongcc/tree-ssa-pre.c
Loading
Please register or sign in to comment