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
4bafe847
Commit
4bafe847
authored
Mar 18, 2005
by
Jan Hubicka
Committed by
Jan Hubicka
Mar 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree-cfg.c (fold_cond_expr_cond): Use boolean types for condition.
From-SVN: r96655
parent
4a76d91a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
gcc/ChangeLog
+2
-0
gcc/tree-cfg.c
+2
-2
No files found.
gcc/ChangeLog
View file @
4bafe847
2005-03-18 Jan Hubicka <jh@suse.cz>
* tree-cfg.c (fold_cond_expr_cond): Use boolean types for condition.
* cgraph.c (cgraph_remove_node): Avoid loop in code deciding whether
function body should be released; do not proactively release function
bodies in non-unit-at-a-time mode.
...
...
gcc/tree-cfg.c
View file @
4bafe847
...
...
@@ -457,9 +457,9 @@ fold_cond_expr_cond (void)
{
tree
cond
=
fold
(
COND_EXPR_COND
(
stmt
));
if
(
integer_zerop
(
cond
))
COND_EXPR_COND
(
stmt
)
=
integer_zero
_node
;
COND_EXPR_COND
(
stmt
)
=
boolean_false
_node
;
else
if
(
integer_onep
(
cond
))
COND_EXPR_COND
(
stmt
)
=
integer_on
e_node
;
COND_EXPR_COND
(
stmt
)
=
boolean_tru
e_node
;
}
}
}
...
...
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