Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
9fe0563a
Commit
9fe0563a
authored
Nov 22, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(layout_type): Use ptr_mode instead of equivalent call to
mode_for_size. From-SVN: r8549
parent
15c9248c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
gcc/stor-layout.c
+2
-4
No files found.
gcc/stor-layout.c
View file @
9fe0563a
...
@@ -706,8 +706,7 @@ layout_type (type)
...
@@ -706,8 +706,7 @@ layout_type (type)
case
OFFSET_TYPE
:
case
OFFSET_TYPE
:
TYPE_SIZE
(
type
)
=
size_int
(
POINTER_SIZE
);
TYPE_SIZE
(
type
)
=
size_int
(
POINTER_SIZE
);
TYPE_MODE
(
type
)
=
mode_for_size
(
POINTER_SIZE
,
TYPE_MODE
(
type
)
=
ptr_mode
;
GET_MODE_CLASS
(
Pmode
),
0
);
break
;
break
;
case
FUNCTION_TYPE
:
case
FUNCTION_TYPE
:
...
@@ -718,8 +717,7 @@ layout_type (type)
...
@@ -718,8 +717,7 @@ layout_type (type)
case
POINTER_TYPE
:
case
POINTER_TYPE
:
case
REFERENCE_TYPE
:
case
REFERENCE_TYPE
:
TYPE_MODE
(
type
)
=
mode_for_size
(
POINTER_SIZE
,
TYPE_MODE
(
type
)
=
ptr_mode
;
GET_MODE_CLASS
(
Pmode
),
0
);
TYPE_SIZE
(
type
)
=
size_int
(
POINTER_SIZE
);
TYPE_SIZE
(
type
)
=
size_int
(
POINTER_SIZE
);
TREE_UNSIGNED
(
type
)
=
1
;
TREE_UNSIGNED
(
type
)
=
1
;
TYPE_PRECISION
(
type
)
=
POINTER_SIZE
;
TYPE_PRECISION
(
type
)
=
POINTER_SIZE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment