summaryrefslogtreecommitdiff
path: root/gcc/c-common.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-04-04 19:11:28 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-04-04 19:11:28 +0000
commit66618a1e4557dbc4e00479df8dfc4e652bc3dada (patch)
tree497de7942fe821b229e61091af88909c98945698 /gcc/c-common.c
parent9a8e6e520a2ba3690ff62c8f7d959ca8d4973a2b (diff)
downloadgcc-66618a1e4557dbc4e00479df8dfc4e652bc3dada.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@682 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.c')
-rw-r--r--gcc/c-common.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/c-common.c b/gcc/c-common.c
index 751fe33b965..91043fd3743 100644
--- a/gcc/c-common.c
+++ b/gcc/c-common.c
@@ -389,8 +389,10 @@ binary_op_error (code)
case RSHIFT_EXPR:
opname = ">>"; break;
case TRUNC_MOD_EXPR:
+ case FLOOR_MOD_EXPR:
opname = "%"; break;
case TRUNC_DIV_EXPR:
+ case FLOOR_DIV_EXPR:
opname = "/"; break;
case BIT_AND_EXPR:
opname = "&"; break;
@@ -402,6 +404,9 @@ binary_op_error (code)
opname = "||"; break;
case BIT_XOR_EXPR:
opname = "^"; break;
+ case LROTATE_EXPR:
+ case RROTATE_EXPR:
+ opname = "rotate"; break;
}
error ("invalid operands to binary %s", opname);
}