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/35434] [4.2/4.3/4.4 regression] ICE with attribute alias



------- Comment #5 from jsm28 at gcc dot gnu dot org  2009-02-08 19:03 -------
Subject: Bug 35434

Author: jsm28
Date: Sun Feb  8 19:02:56 2009
New Revision: 144019

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144019
Log:
        PR c/35434
        * c-common.c (handle_alias_attribute): Disallow attribute for
        anything not a FUNCTION_DECL or VAR_DECL.

testsuite:
        * gcc.dg/attr-alias-4.c: New test.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/attr-alias-4.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=35434


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