This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35434] [4.2/4.3/4.4 regression] ICE with attribute alias
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Feb 2009 19:03:11 -0000
- Subject: [Bug c/35434] [4.2/4.3/4.4 regression] ICE with attribute alias
- References: <bug-35434-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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