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
56f8e5e6
Commit
56f8e5e6
authored
Jul 01, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fold, case GE_EXPR, LT_EXPR): Don't assume result of comparison is
integer_type_node. From-SVN: r4813
parent
20c74d5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
gcc/fold-const.c
+6
-4
No files found.
gcc/fold-const.c
View file @
56f8e5e6
...
...
@@ -4216,11 +4216,13 @@ fold (expr)
TREE_SET_CODE
(
t
,
EQ_EXPR
);
break
;
case
GE_EXPR
:
return
omit_one_operand
(
integer_type_node
,
integer_one_node
,
arg0
);
return
omit_one_operand
(
type
,
convert
(
type
,
integer_one_node
),
arg0
);
case
LT_EXPR
:
return
omit_one_operand
(
integer_type_node
,
integer_zero_node
,
arg0
);
return
omit_one_operand
(
type
,
convert
(
type
,
integer_zero_node
),
arg0
);
}
}
...
...
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