projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f55c7d8
)
(grok_reference_init): Always save the initializer of a reference.
author
Jason Merrill
<merrill@gnu.org>
Wed, 13 Jul 1994 11:13:13 +0000
(11:13 +0000)
committer
Jason Merrill
<merrill@gnu.org>
Wed, 13 Jul 1994 11:13:13 +0000
(11:13 +0000)
From-SVN: r7763
gcc/cp/decl.c
patch
|
blob
|
history
diff --git
a/gcc/cp/decl.c
b/gcc/cp/decl.c
index 8797ee151da3b56abcc673090b0280c991c39fc2..0690340c7cc02a60592b00f0d9b454a50f4adfdc 100644
(file)
--- a/
gcc/cp/decl.c
+++ b/
gcc/cp/decl.c
@@
-5631,10
+5631,7
@@
grok_reference_init (decl, type, init, cleanupp)
}
}
- if (TREE_SIDE_EFFECTS (init))
- DECL_INITIAL (decl) = save_expr (init);
- else
- DECL_INITIAL (decl) = init;
+ DECL_INITIAL (decl) = save_expr (init);
}
else
{