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
d877729c
Commit
d877729c
authored
Nov 15, 2013
by
Eric Botcazou
Committed by
Eric Botcazou
Nov 15, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fold-const.c (fold_binary_loc) <comparisons>: Reuse local variable.
From-SVN: r204839
parent
c8e1377b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/ChangeLog
+4
-0
gcc/fold-const.c
+1
-2
No files found.
gcc/ChangeLog
View file @
d877729c
2013
-
11
-
15
Eric
Botcazou
<
ebotcazou
@
adacore
.
com
>
*
fold
-
const
.
c
(
fold_binary_loc
)
<
comparisons
>:
Reuse
local
variable
.
2013
-
11
-
15
Uros
Bizjak
<
ubizjak
@
gmail
.
com
>
2013
-
11
-
15
Uros
Bizjak
<
ubizjak
@
gmail
.
com
>
*
lto
-
streamer
-
in
.
c
(
input
function
):
Call
cgraph_create_node
if
*
lto
-
streamer
-
in
.
c
(
input
function
):
Call
cgraph_create_node
if
gcc/fold-const.c
View file @
d877729c
...
@@ -13824,8 +13824,7 @@ fold_binary_loc (location_t loc,
...
@@ -13824,8 +13824,7 @@ fold_binary_loc (location_t loc,
and X >= signed_max+1 because previous transformations. */
and X >= signed_max+1 because previous transformations. */
if
(
code
==
LE_EXPR
||
code
==
GT_EXPR
)
if
(
code
==
LE_EXPR
||
code
==
GT_EXPR
)
{
{
tree
st
;
tree
st
=
signed_type_for
(
arg1_type
);
st
=
signed_type_for
(
TREE_TYPE
(
arg1
));
return
fold_build2_loc
(
loc
,
return
fold_build2_loc
(
loc
,
code
==
LE_EXPR
?
GE_EXPR
:
LT_EXPR
,
code
==
LE_EXPR
?
GE_EXPR
:
LT_EXPR
,
type
,
fold_convert_loc
(
loc
,
st
,
arg0
),
type
,
fold_convert_loc
(
loc
,
st
,
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