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]

r128147 - in /trunk/gcc: ChangeLog builtins.c


Author: nemet
Date: Wed Sep  5 19:54:29 2007
New Revision: 128147

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128147
Log:
	PR tree-optimization/21513
	* builtins.c (build_builtin_expect_predicate): New function.
	(fold_builtin_expect): Add argument for expected value.
	Distribute __builtin_expect over short-circuiting operations.
	Fold nested builtin_expects.
	(fold_builtin_2): Adjust call to fold_builtin_expect.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c


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