This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/19706] Recognize common Fortran usages of copysign.
- From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Aug 2017 13:16:22 +0000
- Subject: [Bug middle-end/19706] Recognize common Fortran usages of copysign.
- Auto-submitted: auto-generated
- References: <bug-19706-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19706
--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Tue Aug 8 13:15:44 2017
New Revision: 250956
URL: https://gcc.gnu.org/viewcvs?rev=250956&root=gcc&view=rev
Log:
2017-08-08 Tamar Christina <tamar.christina@arm.com>
Andrew Pinski <pinskia@gmail.com>
PR middle-end/19706
* internal-fn.def (XORSIGN): New.
* optabs.def (xorsign_optab): New.
* tree-ssa-math-opts.c (is_copysign_call_with_1): New.
(convert_expand_mult_copysign): New.
(pass_optimize_widening_mul::execute): Call
convert_expand_mult_copysign.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/internal-fn.def
trunk/gcc/optabs.def
trunk/gcc/tree-ssa-math-opts.c