Remove gimplify_buildN API use from complex lowering
authorRichard Biener <rguenther@suse.de>
Thu, 15 Apr 2021 09:52:16 +0000 (11:52 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 26 Apr 2021 09:04:00 +0000 (11:04 +0200)
commit152334cfb7a17bb3f1356f31a2e808d3ee459605
tree7e431f0c8f9bb27b90a0a5a6b8662edb0283634f
parent76da5b8e65aacdfcca73e0e6e0477c8a4ca7d773
Remove gimplify_buildN API use from complex lowering

This removes the legacy gimplify_buildN API use from complex lowering.

2021-04-15  Richard Biener  <rguenther@suse.de>

* tree-complex.c: Include gimple-fold.h.
(expand_complex_addition): Use gimple_build.
(expand_complex_multiplication_components): Likewise.
(expand_complex_multiplication): Likewise.
(expand_complex_div_straight): Likewise.
(expand_complex_div_wide): Likewise.
(expand_complex_division): Likewise.
(expand_complex_conjugate): Likewise.
(expand_complex_comparison): Likewise.
gcc/tree-complex.c