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
df8e1fdc
Commit
df8e1fdc
authored
May 19, 2008
by
Eric Botcazou
Committed by
Eric Botcazou
May 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tree.c (substitute_in_expr): Fix thinko.
* tree.c (substitute_in_expr) <tcc_vl_exp>: Fix thinko. From-SVN: r135582
parent
06a5f1ec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
gcc/ChangeLog
+4
-0
gcc/tree.c
+6
-5
No files found.
gcc/ChangeLog
View file @
df8e1fdc
2008-05-19 Eric Botcazou <ebotcazou@adacore.com>
* tree.c (substitute_in_expr) <tcc_vl_exp>: Fix thinko.
2008-05-19 H.J. Lu <hongjiu.lu@intel.com>
2008-05-19 H.J. Lu <hongjiu.lu@intel.com>
* gcc/config/i386/i386.c (ix86_expand_vector_init_concat): Change
* gcc/config/i386/i386.c (ix86_expand_vector_init_concat): Change
...
...
gcc/tree.c
View file @
df8e1fdc
...
@@ -2516,8 +2516,7 @@ substitute_in_expr (tree exp, tree f, tree r)
...
@@ -2516,8 +2516,7 @@ substitute_in_expr (tree exp, tree f, tree r)
{
{
enum
tree_code
code
=
TREE_CODE
(
exp
);
enum
tree_code
code
=
TREE_CODE
(
exp
);
tree
op0
,
op1
,
op2
,
op3
;
tree
op0
,
op1
,
op2
,
op3
;
tree
new
;
tree
new
,
inner
;
tree
inner
;
/* We handle TREE_LIST and COMPONENT_REF separately. */
/* We handle TREE_LIST and COMPONENT_REF separately. */
if
(
code
==
TREE_LIST
)
if
(
code
==
TREE_LIST
)
...
@@ -2627,13 +2626,15 @@ substitute_in_expr (tree exp, tree f, tree r)
...
@@ -2627,13 +2626,15 @@ substitute_in_expr (tree exp, tree f, tree r)
for
(
i
=
1
;
i
<
TREE_OPERAND_LENGTH
(
exp
);
i
++
)
for
(
i
=
1
;
i
<
TREE_OPERAND_LENGTH
(
exp
);
i
++
)
{
{
tree
op
=
TREE_OPERAND
(
exp
,
i
);
tree
op
=
TREE_OPERAND
(
exp
,
i
);
tree
newop
=
SUBSTITUTE_IN_EXPR
(
op
,
f
,
r
);
tree
new
_
op
=
SUBSTITUTE_IN_EXPR
(
op
,
f
,
r
);
if
(
newop
!=
op
)
if
(
new
_
op
!=
op
)
{
{
if
(
!
copy
)
copy
=
copy_node
(
exp
);
copy
=
copy_node
(
exp
);
TREE_OPERAND
(
copy
,
i
)
=
newop
;
TREE_OPERAND
(
copy
,
i
)
=
new
_
op
;
}
}
}
}
if
(
copy
)
if
(
copy
)
new
=
fold
(
copy
);
new
=
fold
(
copy
);
else
else
...
...
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