------- 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

Reply via email to