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
fb695d4a
Commit
fb695d4a
authored
Jul 17, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
({unsigned,signed}_type): Handle intXX_type_node types.
From-SVN: r10142
parent
03676390
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
gcc/c-typeck.c
+16
-0
No files found.
gcc/c-typeck.c
View file @
fb695d4a
...
...
@@ -759,6 +759,14 @@ unsigned_type (type)
return
long_unsigned_type_node
;
if
(
type1
==
long_long_integer_type_node
)
return
long_long_unsigned_type_node
;
if
(
type1
==
intDI_type_node
)
return
unsigned_intDI_type_node
;
if
(
type1
==
intSI_type_node
)
return
unsigned_intSI_type_node
;
if
(
type1
==
intHI_type_node
)
return
unsigned_intHI_type_node
;
if
(
type1
==
intQI_type_node
)
return
unsigned_intQI_type_node
;
return
type
;
}
...
...
@@ -779,6 +787,14 @@ signed_type (type)
return
long_integer_type_node
;
if
(
type1
==
long_long_unsigned_type_node
)
return
long_long_integer_type_node
;
if
(
type1
==
unsigned_intDI_type_node
)
return
intDI_type_node
;
if
(
type1
==
unsigned_intSI_type_node
)
return
intSI_type_node
;
if
(
type1
==
unsigned_intHI_type_node
)
return
intHI_type_node
;
if
(
type1
==
unsigned_intQI_type_node
)
return
intQI_type_node
;
return
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