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
ef9fe0da
Commit
ef9fe0da
authored
Mar 13, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r462
parent
8df91b1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/fold-const.c
+6
-1
No files found.
gcc/fold-const.c
View file @
ef9fe0da
...
...
@@ -1624,6 +1624,10 @@ invert_truthvalue (arg)
invert_truthvalue
(
TREE_OPERAND
(
arg
,
1
)),
invert_truthvalue
(
TREE_OPERAND
(
arg
,
2
)));
case
COMPOUND_EXPR
:
return
build
(
COMPOUND_EXPR
,
type
,
TREE_OPERAND
(
arg
,
0
),
invert_truthvalue
(
TREE_OPERAND
(
arg
,
1
)));
case
NON_LVALUE_EXPR
:
return
invert_truthvalue
(
TREE_OPERAND
(
arg
,
0
));
...
...
@@ -3293,7 +3297,8 @@ fold (expr)
}
/* If what we want is other than LT or EQ, invert the result. */
if
(
code
==
GE_EXPR
||
code
==
LE_EXPR
||
code
==
NE_EXPR
)
if
((
code
==
GE_EXPR
||
code
==
LE_EXPR
||
code
==
NE_EXPR
)
&&
TREE_CODE
(
t
)
==
INTEGER_CST
)
TREE_INT_CST_LOW
(
t
)
^=
1
;
TREE_TYPE
(
t
)
=
type
;
return
t
;
...
...
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