machmode.h (mode_mask_array): No longer const.
* machmode.h (mode_mask_array): No longer const. * rtl.c (init_rtl): Fully initialize it if EXTRA_CC_MODES defined. From-SVN: r23245
This commit is contained in:
parent
0aaa908966
commit
abef87891c
@ -1,3 +1,8 @@
|
||||
Fri Oct 23 04:06:57 1998 Richard Earnshaw (rearnsha@arm.com)
|
||||
|
||||
* machmode.h (mode_mask_array): No longer const.
|
||||
* rtl.c (init_rtl): Fully initialize it if EXTRA_CC_MODES defined.
|
||||
|
||||
Fri Oct 23 11:19:06 1998 Martin v. Löwis <loewis@informatik.hu-berlin.de>
|
||||
|
||||
* frame.c: Somewhat explain `FDE'.
|
||||
|
@ -196,7 +196,7 @@ extern int mode_unit_size[];
|
||||
/* Get a bitmask containing 1 for all bits in a word
|
||||
that fit within mode MODE. */
|
||||
|
||||
extern const unsigned HOST_WIDE_INT mode_mask_array[];
|
||||
extern unsigned HOST_WIDE_INT mode_mask_array[];
|
||||
|
||||
#define GET_MODE_MASK(MODE) mode_mask_array[(int) (MODE)]
|
||||
|
||||
|
@ -122,7 +122,7 @@ unsigned char mode_wider_mode[(int) MAX_MACHINE_MODE] = {
|
||||
|
||||
/* Indexed by machine mode, gives mask of significant bits in mode. */
|
||||
|
||||
const unsigned HOST_WIDE_INT mode_mask_array[(int) MAX_MACHINE_MODE] = {
|
||||
unsigned HOST_WIDE_INT mode_mask_array[(int) MAX_MACHINE_MODE] = {
|
||||
#include "machmode.def"
|
||||
};
|
||||
|
||||
@ -901,6 +901,7 @@ init_rtl ()
|
||||
for (i = (int) CCmode + 1; i < (int) MAX_MACHINE_MODE; i++)
|
||||
{
|
||||
mode_class[i] = MODE_CC;
|
||||
mode_mask_array[i] = mode_mask_array[(int) CCmode];
|
||||
mode_size[i] = mode_size[(int) CCmode];
|
||||
mode_unit_size[i] = mode_unit_size[(int) CCmode];
|
||||
mode_wider_mode[i - 1] = i;
|
||||
|
Loading…
Reference in New Issue
Block a user