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
e7951b3f
Commit
e7951b3f
authored
May 28, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
entered into RCS
From-SVN: r1110
parent
1185c455
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
gcc/c-typeck.c
+7
-3
No files found.
gcc/c-typeck.c
View file @
e7951b3f
...
...
@@ -2569,12 +2569,16 @@ build_binary_op (code, orig_op0, orig_op1, convert_p)
final_type
=
result_type
;
/* Handle the case that OP0 does not *contain* a conversion
/* Handle the case that OP0
(or OP1)
does not *contain* a conversion
but it *requires* conversion to FINAL_TYPE. */
if
(
op0
==
arg0
&&
TREE_TYPE
(
op0
)
!=
final_type
)
if
((
TYPE_PRECISION
(
TREE_TYPE
(
op0
))
==
TYPE_PRECISION
(
TREE_TYPE
(
arg0
)))
&&
TREE_TYPE
(
op0
)
!=
final_type
)
unsigned0
=
TREE_UNSIGNED
(
TREE_TYPE
(
op0
));
if
(
op1
==
arg1
&&
TREE_TYPE
(
op1
)
!=
final_type
)
if
((
TYPE_PRECISION
(
TREE_TYPE
(
op1
))
==
TYPE_PRECISION
(
TREE_TYPE
(
arg1
)))
&&
TREE_TYPE
(
op1
)
!=
final_type
)
unsigned1
=
TREE_UNSIGNED
(
TREE_TYPE
(
op1
));
/* Now UNSIGNED0 is 1 if ARG0 zero-extends to FINAL_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