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 tree-optimization/77648] [5 Regression] Setting conversion to a integer to double to 0 3/4 through a loop


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77648

--- Comment #12 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Jan 24 11:30:44 2017
New Revision: 244864

URL: https://gcc.gnu.org/viewcvs?rev=244864&root=gcc&view=rev
Log:
2017-01-24  Richard Biener  <rguenther@suse.de>

        Backport from mainline
        2016-09-20  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/77646
        * tree-ssa-sccvn.c (visit_reference_op_call): Always value-number
        a VDEF.

        * gcc.dg/torture/pr77646.c: New testcase.

        2016-11-05  David Edelsohn  <dje.gcc@gmail.com>
                Richard Biener  <rguenther@suse.de>

        PR bootstrap/78188
        PR c++/71848
        * ipa-comdats.c (pass_ipa_comdats::gate): Require HAVE_COMDAT_GROUP.

        * g++.dg/ipa/pr78188.C: New test.       

        2016-09-21  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/77648
        * tree-ssa-structalias.c (process_constraint): Handle all DEREF
        with complex RHS.
        (make_transitive_closure_constraints): Adjust comment.
        (make_any_offset_constraints): New function.
        (handle_rhs_call): Make sure to first expand a pointer to all
        subfields before transitively closing it.
        (handle_const_call): Likewise.  Properly expand returned
        pointers as well.
        (handle_pure_call): Likewise.

        * gcc.dg/torture/pr77648-1.c: New testcase.
        * gcc.dg/torture/pr77648-2.c: Likewise.

        2016-10-07  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/77879
        * tree-ssa-structalias.c (handle_const_call): Properly handle
        NRV return slots.
        (handle_pure_call): Likewise.

Added:
    branches/gcc-5-branch/gcc/testsuite/g++.dg/ipa/pr78188.C
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr77646.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr77648-1.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr77648-2.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/ipa-comdats.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-sccvn.c
    branches/gcc-5-branch/gcc/tree-ssa-structalias.c

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