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
3a69437a
Commit
3a69437a
authored
19 years ago
by
Volker Reichelt
Committed by
Volker Reichelt
19 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fold-const.c (fold_ternary): Simplify folding of a CALL_EXPR.
From-SVN: r103176
parent
8e1c3891
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
gcc/ChangeLog
+4
-0
gcc/fold-const.c
+1
-7
No files found.
gcc/ChangeLog
View file @
3a69437a
2005
-
08
-
16
Volker
Reichelt
<
reichelt
@igpm
.
rwth
-
aachen
.
de
>
*
fold
-
const
.
c
(
fold_ternary
)
:
Simplify
folding
of
a
CALL_EXPR
.
2005
-
08
-
16
Geoffrey
Keating
<
geoffk
@apple
.
com
>
*
doc
/
invoke
.
texi
(
Precompiled
Headers
)
:
Document
some
more
options
...
...
This diff is collapsed.
Click to expand it.
gcc/fold-const.c
View file @
3a69437a
...
...
@@ -10115,13 +10115,7 @@ fold_ternary (enum tree_code code, tree type, tree op0, tree op1, tree op2)
if
(
TREE_CODE
(
op0
)
==
ADDR_EXPR
&&
TREE_CODE
(
TREE_OPERAND
(
op0
,
0
))
==
FUNCTION_DECL
&&
DECL_BUILT_IN
(
TREE_OPERAND
(
op0
,
0
)))
{
tree
fndecl
=
TREE_OPERAND
(
op0
,
0
);
tree
arglist
=
op1
;
tree
tmp
=
fold_builtin
(
fndecl
,
arglist
,
false
);
if
(
tmp
)
return
tmp
;
}
return
fold_builtin
(
TREE_OPERAND
(
op0
,
0
),
op1
,
false
);
return
NULL_TREE
;
case
BIT_FIELD_REF
:
...
...
This diff is collapsed.
Click to expand it.
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