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

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Tue Mar 28 11:37:22 2017
New Revision: 246530

URL: https://gcc.gnu.org/viewcvs?rev=246530&root=gcc&view=rev
Log:
Handle PHI nodes w/o a argument (PR ipa/80205).

2017-03-28  Martin Liska  <mli...@suse.cz>

        PR ipa/80205
        * g++.dg/ipa/pr80205.C: New test.
2017-03-28  Richard Biener  <rguent...@suse.de>

        PR ipa/80205
        * tree-inline.c (copy_phis_for_bb): Do not create PHI node
        without arguments, generate default definition of a SSA name.

Added:
    trunk/gcc/testsuite/g++.dg/ipa/pr80205.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-inline.c

Reply via email to