Do not propagate self-dependent value (PR ipa/93763)
authorFeng Xue <fxue@os.amperecomputing.com>
Mon, 17 Feb 2020 09:07:04 +0000 (17:07 +0800)
committerJeff Law <law@redhat.com>
Fri, 21 Feb 2020 20:22:20 +0000 (13:22 -0700)
commit47772af10c00f7e1e95cd52557fc893dc602a420
treed7da2bfb62c51381fef0882ce16fa1889d23d983
parent147add96091790d5c1d8eb938f84ea775ad81b84
Do not propagate self-dependent value (PR ipa/93763)

        PR ipa/93763
        * ipa-cp.c (self_recursively_generated_p): Mark self-dependent value as
        self-recursively generated.
gcc/ipa-cp.c
gcc/testsuite/g++.dg/ipa/pr93763.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/ipa/pr93763.c [new file with mode: 0644]