This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/37645] [4.2/4.3/4.4 regression] ICE with weakref attribute



------- Comment #2 from jakub at gcc dot gnu dot org  2008-09-26 05:25 -------
Subject: Bug 37645

Author: jakub
Date: Fri Sep 26 05:23:48 2008
New Revision: 140681

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140681
Log:
        PR c/37645
        * c-common.c (handle_weakref_attribute): Ignore the attribute unless
        the decl is a VAR_DECL or FUNCTION_DECL.

        * gcc.dg/pr37645.c: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pr37645.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/c-common.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37645


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]