[Bug ipa/82808] [7/8 Regression] LTO clone wrong value

jamborm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 29 22:14:00 GMT 2017


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

--- Comment #10 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Author: jamborm
Date: Wed Nov 29 22:13:34 2017
New Revision: 255256

URL: https://gcc.gnu.org/viewcvs?rev=255256&root=gcc&view=rev
Log:
Be conservative with arithmetic jmp-function types

2017-11-29  Martin Jambor  <mjambor@suse.cz>

        PR ipa/82808
        * tree.c (expr_type_first_operand_type_p): New function.
        * tree.h (expr_type_first_operand_type_p): Declare it.
        * ipa-cp.c (ipa_get_jf_pass_through_result): Use it.

testsuite/
        * gcc.dg/ipa/pr82808.c: New test.


Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/ipa/pr82808.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/ipa-cp.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/tree.c
    branches/gcc-7-branch/gcc/tree.h


More information about the Gcc-bugs mailing list