[kaffe] CVS kaffe (robilad): Foolishly missed to add file

Kaffe CVS cvs-commits at kaffe.org
Fri Apr 1 10:36:18 PST 2005


PatchSet 5637 
Date: 2005/04/01 18:31:42
Author: robilad
Branch: HEAD
Tag: (none) 
Log:
Foolishly missed to add file

Members: 
	include/gccbuiltin.h:INITIAL->1.1 

===================================================================
Checking out kaffe/include/gccbuiltin.h
RCS:  /home/cvs/kaffe/kaffe/include/gccbuiltin.h,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/include/gccbuiltin.h	Fri Apr  1 18:36:17 2005
@@ -0,0 +1,33 @@
+/* Get common system includes and various definitions and declarations based
+   on autoconf macros.
+   Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+   Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING.  If not, write to the Free
+Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA.  */
+
+#ifndef GCCBUILTIN_H
+#define GCCBUILTIN_H
+
+/* __builtin_expect(A, B) evaluates to A, but notifies the compiler that
+   the most likely value of A is B.  This feature was added at some point
+   between 2.95 and 3.0.  Let's use 3.0 as the lower bound for now.  */
+#if (GCC_VERSION < 3000)
+#define __builtin_expect(a, b) (a)
+#endif
+
+#endif




More information about the kaffe mailing list