This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/19706] Recognize common Fortran usages of copysign.


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]