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
9f6de2b9
Commit
9f6de2b9
authored
Feb 13, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(quality_type prototype): Typo, rename as qualify_type.
(build_binary_op): Fix precedence error. From-SVN: r11250
parent
ac02eb62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/c-typeck.c
+3
-3
No files found.
gcc/c-typeck.c
View file @
9f6de2b9
...
...
@@ -42,7 +42,7 @@ static int missing_braces_mentioned;
extern
char
*
index
();
extern
char
*
rindex
();
static
tree
quali
t
y_type
PROTO
((
tree
,
tree
));
static
tree
quali
f
y_type
PROTO
((
tree
,
tree
));
static
int
comp_target_types
PROTO
((
tree
,
tree
));
static
int
function_types_compatible_p
PROTO
((
tree
,
tree
));
static
int
type_lists_compatible_p
PROTO
((
tree
,
tree
));
...
...
@@ -2481,9 +2481,9 @@ build_binary_op (code, orig_op0, orig_op1, convert_p)
not use the most significant bit of result_type. */
else
if
((
resultcode
==
EQ_EXPR
||
resultcode
==
NE_EXPR
)
&&
((
op0_signed
&&
TREE_CODE
(
xop1
)
==
INTEGER_CST
&&
int_fits_type_p
(
xop1
,
signed_type
(
result_type
))
&&
int_fits_type_p
(
xop1
,
signed_type
(
result_type
))
)
||
(
op1_signed
&&
TREE_CODE
(
xop0
)
==
INTEGER_CST
&&
int_fits_type_p
(
xop0
,
signed_type
(
result_type
)))))
)
&&
int_fits_type_p
(
xop0
,
signed_type
(
result_type
)))))
/* OK */
;
else
warning
(
"comparison between signed and unsigned"
);
...
...
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