Commit 13799af3 by Mark Mitchell Committed by Mark Mitchell

system.h (CEIL): Define.

	* system.h (CEIL): Define.
	* builtins.c (CEIL): Remove.
	* expmed.c (CEIL): Likewise.
	* expr.c (CEIL): Likewise.
	* stor-layout.c (CEIL): Likewise.

From-SVN: r31167
parent 0db5adc6
2000-01-02 Mark Mitchell <mark@codesourcery.com>
* system.h (CEIL): Define.
* builtins.c (CEIL): Remove.
* expmed.c (CEIL): Likewise.
* expr.c (CEIL): Likewise.
* stor-layout.c (CEIL): Likewise.
2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* expr.c (store_constructor_field): Fix typo introduced with last
......
......@@ -43,8 +43,6 @@ Boston, MA 02111-1307, USA. */
#define CALLED_AS_BUILT_IN(NODE) \
(!strncmp (IDENTIFIER_POINTER (DECL_NAME (NODE)), "__builtin_", 10))
#define CEIL(x,y) (((x) + (y) - 1) / (y))
/* Register mappings for target machines without register windows. */
#ifndef INCOMING_REGNO
#define INCOMING_REGNO(OUT) (OUT)
......
......@@ -46,8 +46,6 @@ static rtx extract_split_bit_field PROTO((rtx, int, int, int, int));
static void do_cmp_and_jump PROTO((rtx, rtx, enum rtx_code,
enum machine_mode, rtx));
#define CEIL(x,y) (((x) + (y) - 1) / (y))
/* Non-zero means divides or modulus operations are relatively cheap for
powers of two, so don't use branches; emit the operation instead.
Usually, this will mean that the MD file will emit non-branch
......
......@@ -43,8 +43,6 @@ Boston, MA 02111-1307, USA. */
#include "ggc.h"
#include "tm_p.h"
#define CEIL(x,y) (((x) + (y) - 1) / (y))
/* Decide whether a function's arguments should be processed
from first to last or from last to first.
......
......@@ -30,8 +30,6 @@ Boston, MA 02111-1307, USA. */
#include "toplev.h"
#include "ggc.h"
#define CEIL(x,y) (((x) + (y) - 1) / (y))
/* Data type for the expressions representing sizes of data types.
It is the first integer type laid out. */
......
......@@ -266,6 +266,9 @@ extern int errno;
#define MIN(X,Y) ((X) < (Y) ? (X) : (Y))
#define MAX(X,Y) ((X) > (Y) ? (X) : (Y))
/* Returns the least number N such that N * Y >= X. */
#define CEIL(x,y) (((x) + (y) - 1) / (y))
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment