diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-04 16:40:05 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-04 16:40:05 +0000 |
commit | 0fc6aef13eb0347cf6c0f0eaf6aa80de62f11813 (patch) | |
tree | 0bc00a84f047a96e621c6557559e38b55168e59e /gcc/machmode.h | |
parent | 625b9639db94821b1ed55e8c18bcf998e58a45c5 (diff) | |
download | gcc-0fc6aef13eb0347cf6c0f0eaf6aa80de62f11813.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32326 138bc75d-0d04-0410-961f-82ee72b054a4
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, |