OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8757e14
)
tweak comment
author
jason
<jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2001 14:55:07 +0000
(14:55 +0000)
committer
jason
<jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 24 Jul 2001 14:55:07 +0000
(14:55 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44297
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/cp/tree.c
patch
|
blob
|
history
diff --git
a/gcc/cp/tree.c
b/gcc/cp/tree.c
index
5ced7ef
..
59c08bc
100644
(file)
--- a/
gcc/cp/tree.c
+++ b/
gcc/cp/tree.c
@@
-80,6
+80,9
@@
lvalue_p_1 (ref, treat_class_rvalues_as_lvalues)
case WITH_CLEANUP_EXPR:
case REALPART_EXPR:
case IMAGPART_EXPR:
+ /* This shouldn't be here, but there are lots of places in the compiler
+ that are sloppy about tacking on NOP_EXPRs to the same type when
+ no actual conversion is happening. */
case NOP_EXPR:
return lvalue_p_1 (TREE_OPERAND (ref, 0),
treat_class_rvalues_as_lvalues);