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]

gcc/gcc tree.c


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	apple-ppc-branch
Changes by:	austern@gcc.gnu.org	2004-12-02 21:07:42

Modified files:
	gcc            : tree.c 

Log message:
	Backported from mainline: speed up lookup_attribute.
	* tree.c (is_attribute_p): Split out to ..
	(is_attribute_with_length_p): Here.  Use IDENTIFIER_LENGTH instead
	of strlen and compare the string lengths before calling strcmp.
	(lookup_attribute): Call is_attribute_with_length_p instead of
	is_attribute_p.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.263.2.84.2.23&r2=1.263.2.84.2.24


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