OSDN Git Service

PR middle-end/19953
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Feb 2005 20:00:09 +0000 (20:00 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Feb 2005 20:00:09 +0000 (20:00 +0000)
commit189b339816238133988b6e976a05256f9d2d3426
tree79896db4727874e5decda78a3b61216e7fcbce2f
parenteb71604319e040a4a8aa8521159c342af0cc675c
    PR middle-end/19953
        * builtins.c (fold_builtin_complex_mul, fold_builtin_complex_div): New.
        (fold_builtin_1): Call them.
        * fold-const.c (fold_complex_mult_parts): Split out from ...
        (fold_complex_mult): ... here.  Fix typo in both imaginary case.
        (fold_complex_div_parts, fold_complex_div): New.
        (fold): Use them.
        * tree.h (fold_complex_mult_parts, fold_complex_div_parts): Declare.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95511 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/fold-const.c
gcc/testsuite/gcc.dg/tree-ssa/complex-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/complex-2.c [new file with mode: 0644]
gcc/tree.h