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
25caaba8
Commit
25caaba8
authored
Mar 23, 2001
by
J"orn Rennecke
Committed by
Joern Rennecke
Mar 23, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
From-SVN: r40781
parent
4ff17c6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/ChangeLog
+4
-0
gcc/stor-layout.c
+3
-1
No files found.
gcc/ChangeLog
View file @
25caaba8
Fri Mar 23 16:59:08 2001 J"orn Rennecke <amylaar@redhat.com>
* stor-layout.c (layout_type): Give OFFSET_TYPE a MODE_INT type.
2001-03-23 Bryce McKinlay <bryce@albatross.co.nz>
2001-03-23 Bryce McKinlay <bryce@albatross.co.nz>
* extend.texi: Document the "java_interface" attribute.
* extend.texi: Document the "java_interface" attribute.
...
...
gcc/stor-layout.c
View file @
25caaba8
...
@@ -1341,7 +1341,9 @@ layout_type (type)
...
@@ -1341,7 +1341,9 @@ layout_type (type)
case
OFFSET_TYPE
:
case
OFFSET_TYPE
:
TYPE_SIZE
(
type
)
=
bitsize_int
(
POINTER_SIZE
);
TYPE_SIZE
(
type
)
=
bitsize_int
(
POINTER_SIZE
);
TYPE_SIZE_UNIT
(
type
)
=
size_int
(
POINTER_SIZE
/
BITS_PER_UNIT
);
TYPE_SIZE_UNIT
(
type
)
=
size_int
(
POINTER_SIZE
/
BITS_PER_UNIT
);
TYPE_MODE
(
type
)
=
ptr_mode
;
/* A pointer might be MODE_PARTIAL_INT,
but ptrdiff_t must be integral. */
TYPE_MODE
(
type
)
=
mode_for_size
(
POINTER_SIZE
,
MODE_INT
,
0
);
break
;
break
;
case
FUNCTION_TYPE
:
case
FUNCTION_TYPE
:
...
...
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