This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r144019 - in /branches/gcc-4_3-branch/gcc: Chan...
- From: jsm28 at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 08 Feb 2009 19:02:58 -0000
- Subject: r144019 - in /branches/gcc-4_3-branch/gcc: Chan...
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