[Bug ipa/77587] [5 Regression] C compiler produces incorrect stack alignment with __attribute__((weak))

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 30 07:31:00 GMT 2017


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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 07:26:00 2017
New Revision: 248609

URL: https://gcc.gnu.org/viewcvs?rev=248609&root=gcc&view=rev
Log:
        Backported from mainline
        2016-09-19  Jakub Jelinek  <jakub@redhat.com>
                    Jan Hubicka  <jh@suse.cz>

        PR target/77587
        * cgraph.c (cgraph_node::rtl_info): Pass &avail to
        ultimate_alias_target call, return NULL if avail < AVAIL_AVAILABLE.
        Call ultimate_alias_target just once, not up to 4 times.

        * gcc.dg/pr77587.c: New test.
        * gcc.dg/pr77587a.c: New file.

Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr77587.c
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/pr77587a.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/cgraph.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog


More information about the Gcc-bugs mailing list