This is the mail archive of the gcc-cvs@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]

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


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