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

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Wed Apr  6 10:31:27 2016
New Revision: 234776

URL: https://gcc.gnu.org/viewcvs?rev=234776&root=gcc&view=rev
Log:
2016-04-06  Richard Biener  <rguent...@suse.de>

        Backport from mainline
        2016-03-11  Jakub Jelinek  <ja...@redhat.com>

        PR tree-optimization/70177
        * gimple-expr.h (extract_ops_from_tree_1): Renamed to ...
        (extract_ops_from_tree): ... this.  In the 2 argument
        overload remove _1 suffix.
        * gimple-expr.c (extract_ops_from_tree_1): Renamed to ...
        (extract_ops_from_tree): ... this.
        * gimple.c (gimple_build_assign, gimple_assign_set_rhs_from_tree):
        Adjust callers.
        * tree-ssa-loop-niter.c (derive_constant_upper_bound): Likewise.
        * tree-ssa-forwprop.c (defcodefor_name): Call 3 operand
        extract_ops_from_tree instead of 2 operand one.

        * gcc.dg/pr70177.c: New test.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr70177.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/gimple-expr.c
    branches/gcc-5-branch/gcc/gimple-expr.h
    branches/gcc-5-branch/gcc/gimple.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/tree-ssa-forwprop.c
    branches/gcc-5-branch/gcc/tree-ssa-loop-niter.c

Reply via email to