diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2000-03-04 16:40:05 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2000-03-04 11:40:05 -0500 |
commit | 72c602fc0105c277205ef0009ced55cf1aac1b11 (patch) | |
tree | 0bc00a84f047a96e621c6557559e38b55168e59e /gcc/machmode.h | |
parent | 32070bf2d8a85cc742b3ac8d4873cadd9c863d40 (diff) | |
download | gcc-72c602fc0105c277205ef0009ced55cf1aac1b11.tar.gz |
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
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index 702e20967a6..fd2101bcf51 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, |