case OFFSET_TYPE:
TYPE_SIZE (type) = size_int (POINTER_SIZE);
- TYPE_MODE (type) = mode_for_size (POINTER_SIZE,
- GET_MODE_CLASS (Pmode), 0);
+ TYPE_MODE (type) = ptr_mode;
break;
case FUNCTION_TYPE:
case POINTER_TYPE:
case REFERENCE_TYPE:
- TYPE_MODE (type) = mode_for_size (POINTER_SIZE,
- GET_MODE_CLASS (Pmode), 0);
+ TYPE_MODE (type) = ptr_mode;
TYPE_SIZE (type) = size_int (POINTER_SIZE);
TREE_UNSIGNED (type) = 1;
TYPE_PRECISION (type) = POINTER_SIZE;