projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14e2799
)
Clarify comment.
author
Jakub Jelinek
<jakub@gcc.gnu.org>
Sun, 28 Jan 2001 14:04:19 +0000
(15:04 +0100)
committer
Jakub Jelinek
<jakub@gcc.gnu.org>
Sun, 28 Jan 2001 14:04:19 +0000
(15:04 +0100)
From-SVN: r39320
gcc/cp/optimize.c
patch
|
blob
|
history
diff --git
a/gcc/cp/optimize.c
b/gcc/cp/optimize.c
index 7a7a27c5b02a4bb8939ade9123e7273509f19831..16d3a4798d694b37c03ede4e60cebab71cf8d06c 100644
(file)
--- a/
gcc/cp/optimize.c
+++ b/
gcc/cp/optimize.c
@@
-343,8
+343,8
@@
copy_body_r (tp, walk_subtrees, data)
&& nonstatic_local_decl_p (TREE_OPERAND (*tp, 0))
&& DECL_CONTEXT (TREE_OPERAND (*tp, 0)) == fn)
{
- /*
Assignments like a = a
; don't generate any rtl code
- and don't count as variable modification. Avoid
+ /*
Some assignments VAR = VAR
; don't generate any rtl code
+ and
thus
don't count as variable modification. Avoid
keeping bogosities like 0 = 0. */
tree decl = TREE_OPERAND (*tp, 0), value;
splay_tree_node n;