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
1bfedcc8
Commit
1bfedcc8
authored
Jun 09, 2003
by
Jason Merrill
Committed by
Jason Merrill
Jun 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR.
From-SVN: r67683
parent
75b2a93c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
gcc/ChangeLog
+4
-0
gcc/fold-const.c
+13
-3
No files found.
gcc/ChangeLog
View file @
1bfedcc8
2003-06-09 Jason Merrill <jason@redhat.com>
* fold-const.c (operand_equal_p): Handle ADDR_EXPR and TRUTH_NOT_EXPR.
2003-06-19 Osku Salerma <osku@iki.fi>
* c-format.c (check_format_string, get_constant): New.
...
...
gcc/fold-const.c
View file @
1bfedcc8
...
...
@@ -2000,9 +2000,19 @@ operand_equal_p (arg0, arg1, only_const)
}
case
'e'
:
if
(
TREE_CODE
(
arg0
)
==
RTL_EXPR
)
return
rtx_equal_p
(
RTL_EXPR_RTL
(
arg0
),
RTL_EXPR_RTL
(
arg1
));
return
0
;
switch
(
TREE_CODE
(
arg0
))
{
case
ADDR_EXPR
:
case
TRUTH_NOT_EXPR
:
return
operand_equal_p
(
TREE_OPERAND
(
arg0
,
0
),
TREE_OPERAND
(
arg1
,
0
),
0
);
case
RTL_EXPR
:
return
rtx_equal_p
(
RTL_EXPR_RTL
(
arg0
),
RTL_EXPR_RTL
(
arg1
));
default
:
return
0
;
}
default
:
return
0
;
...
...
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