summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2016-03-02 00:16:54 -0300
committerAlexandre Oliva <aoliva@redhat.com>2016-03-02 00:17:27 -0300
commitefe325eb7e819dde6e15f9a3d48c6fee527c1ba1 (patch)
tree22e3b80e1c1bc2fd08f8b277615eb4de224b84af
parent8d2ccd6a9d6de41a5417b74d0b83798d5d73c76d (diff)
downloadgcc-efe325eb7e819dde6e15f9a3d48c6fee527c1ba1.tar.gz
shift operators are not assignment operators
-rw-r--r--libcc1/libcp1plugin.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcc1/libcp1plugin.cc b/libcc1/libcp1plugin.cc
index ed28443ff23..7032ac0b2ab 100644
--- a/libcc1/libcp1plugin.cc
+++ b/libcc1/libcp1plugin.cc
@@ -602,11 +602,9 @@ plugin_new_decl (cc1_plugin::connection *self,
break;
case CHARS2 ('l', 's'): // operator <<
opcode = LSHIFT_EXPR;
- assop = true;
break;
case CHARS2 ('r', 's'): // operator >>
opcode = RSHIFT_EXPR;
- assop = true;
break;
case CHARS2 ('l', 'S'): // operator <<=
opcode = LSHIFT_EXPR;