From 72c602fc0105c277205ef0009ced55cf1aac1b11 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 4 Mar 2000 16:40:05 +0000 Subject: machmode.h (mode_for_size, [...]): SIZE now signed. * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed. * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise. (mode_for_size_tree): New function. (layout_decl, layout_type): Call it and clean up BLKmode checks. * tree.h (mode_for_size_tree): New declaration. From-SVN: r32326 --- gcc/machmode.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gcc/machmode.h') diff --git a/gcc/machmode.h b/gcc/machmode.h index 702e209..fd2101b 100644 --- a/gcc/machmode.h +++ b/gcc/machmode.h @@ -1,5 +1,6 @@ /* Machine mode definitions for GNU C-Compiler; included by rtl.h and tree.h. - Copyright (C) 1991, 93, 94, 96, 98, 99, 2000 Free Software Foundation, Inc. + Copyright (C) 1991, 1993, 1994, 1996, 1998, 1999, 2000 + Free Software Foundation, Inc. This file is part of GNU CC. @@ -105,12 +106,12 @@ extern const unsigned char mode_wider_mode[]; If LIMIT is nonzero, then don't use modes bigger than MAX_FIXED_MODE_SIZE. The value is BLKmode if no other mode is found. */ -extern enum machine_mode mode_for_size PARAMS ((unsigned int, enum mode_class, int)); +extern enum machine_mode mode_for_size PARAMS ((int, enum mode_class, int)); /* Similar, but find the smallest mode for a given width. */ -extern enum machine_mode smallest_mode_for_size PARAMS ((unsigned int, - enum mode_class)); +extern enum machine_mode smallest_mode_for_size + PARAMS ((int, enum mode_class)); /* Return an integer mode of the exact same size as the input mode, -- cgit v1.1