diff --git a/gcc/regs.h b/gcc/regs.h index c26528d05742..fe0d1ac1af1a 100644 --- a/gcc/regs.h +++ b/gcc/regs.h @@ -149,11 +149,6 @@ extern char *regno_pointer_flag; #define REGNO_POINTER_FLAG(REGNO) regno_pointer_flag[REGNO] extern int regno_pointer_flag_length; -/* Similarly, contains the alignment in bytes for a register that contains - a pointer, if known. */ -extern char *regno_pointer_align; -#define REGNO_POINTER_ALIGN(REGNO) regno_pointer_align[REGNO] - /* List made of EXPR_LIST rtx's which gives pairs of pseudo registers that have to go in the same hard reg. */ extern rtx regs_may_share; diff --git a/gcc/rtl.h b/gcc/rtl.h index 8d23a6bf1171..998d9ba61568 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -969,6 +969,11 @@ extern int cse_not_expected; Allocated in parallel with regno_pointer_flag. */ extern rtx *regno_reg_rtx; +/* Vector indexed by regno; contains the alignment in bytes for a + register that contains a pointer, if known. */ +extern char *regno_pointer_align; +#define REGNO_POINTER_ALIGN(REGNO) regno_pointer_align[REGNO] + /* Translates rtx code to tree code, for those codes needed by REAL_ARITHMETIC. The function returns an int because the caller may not know what `enum tree_code' means. */