[Bug ipa/77653] [7 Regression] wrong code at -Os and above on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 22 12:52:00 GMT 2016


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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Thu Sep 22 12:52:09 2016
New Revision: 240354

URL: https://gcc.gnu.org/viewcvs?rev=240354&root=gcc&view=rev
Log:
Fix PR ipa/77653

        PR ipa/77653
        * gcc.dg/ipa/pr77653.c: New test.
        PR ipa/77653
        * ipa-icf.c (sem_variable::merge): Yield merge operation if
        alias address matters, not necessarily address of original.

Added:
    trunk/gcc/testsuite/gcc.dg/ipa/pr77653.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ipa-icf.c
    trunk/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list