diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-11-22 11:29:12 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1994-11-22 11:29:12 +0000 |
commit | c5434a84b72a4d72f8fc660182b1650acfc557b1 (patch) | |
tree | 8cced0a87e82eb92ddb042cd097cebabeb20b957 /gcc/stor-layout.c | |
parent | 069b19ee3b822a17fa73697ac0dd46ced4ce63fa (diff) | |
download | gcc-c5434a84b72a4d72f8fc660182b1650acfc557b1.tar.gz |
(layout_type): Use ptr_mode instead of equivalent call to
mode_for_size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8549 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/stor-layout.c')
-rw-r--r-- | gcc/stor-layout.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index 834e96d392b..1f7d5ee11a3 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -706,8 +706,7 @@ layout_type (type) 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: @@ -718,8 +717,7 @@ layout_type (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; |