[Bug ipa/61144] [4.9/5 Regression] Invalid optimizations for extern vars with local weak definitions

hubicka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Oct 5 04:56:00 GMT 2014


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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #31 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Author: hubicka
Date: Sun Oct  5 04:52:19 2014
New Revision: 215896

URL: https://gcc.gnu.org/viewcvs?rev=215896&root=gcc&view=rev
Log:

    PR ipa/61144
    * varpool.c (ctor_for_folding): Do not fold WEAK symbols.
    * gcc.dg/tree-ssa/pr61144.c: New testcase.

Added:
    branches/gcc-4_9-branch/gcc/testsuite/gcc.dg/tree-ssa/pr61144.c
Modified:
    branches/gcc-4_9-branch/gcc/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/varpool.c

--- Comment #32 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed now both on branch and mainline.

--- Comment #33 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
Fixed now both on branch and mainline.



More information about the Gcc-bugs mailing list