diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-04 21:12:27 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-06-04 21:12:27 +0000 |
commit | 98eaf693c4426e6caabea1fcc9e3f77bec90adbc (patch) | |
tree | 124eda5b35f374513ef2c08290e80077a8dcc1c0 /gcc/cp/operators.def | |
parent | 6a46fa59e8d98c32df49fc824fe85a8ed48bb2c3 (diff) | |
download | gcc-98eaf693c4426e6caabea1fcc9e3f77bec90adbc.tar.gz |
* Make-lang.in (CXX_SRCS): Add mangle.c.
* Makefile.in (CXX_OBJS): Add mangle.o.
(mangle.o): New rule.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34394 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/operators.def')
-rw-r--r-- | gcc/cp/operators.def | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/cp/operators.def b/gcc/cp/operators.def index 5b16b3859ff..ec0838c2917 100644 --- a/gcc/cp/operators.def +++ b/gcc/cp/operators.def @@ -108,7 +108,7 @@ DEF_SIMPLE_OPERATOR ("+", PLUS_EXPR, "pl", "__pl", 2) DEF_SIMPLE_OPERATOR ("-", MINUS_EXPR, "mi", "__mi", 2) DEF_SIMPLE_OPERATOR ("*", MULT_EXPR, "ml", "__ml", 2) DEF_SIMPLE_OPERATOR ("/", TRUNC_DIV_EXPR, "dv", "__dv", 2) -DEF_SIMPLE_OPERATOR ("%", TRUNC_MOD_EXPR, "md", "__md", 2) +DEF_SIMPLE_OPERATOR ("%", TRUNC_MOD_EXPR, "rm", "__md", 2) DEF_SIMPLE_OPERATOR ("&", BIT_AND_EXPR, "an", "__ad", 2) DEF_SIMPLE_OPERATOR ("|", BIT_IOR_EXPR, "or", "__or", 2) DEF_SIMPLE_OPERATOR ("^", BIT_XOR_EXPR, "eo", "__er", 2) @@ -131,6 +131,8 @@ DEF_SIMPLE_OPERATOR ("--", POSTDECREMENT_EXPR, "mm", "__mm", 2) /* These are extensions. */ DEF_SIMPLE_OPERATOR ("<?", MIN_EXPR, "vx3min", "__mn", 2) DEF_SIMPLE_OPERATOR (">?", MAX_EXPR, "vx3max", "__mx", 2) +/* This one is needed for mangling. */ +DEF_SIMPLE_OPERATOR ("::", SCOPE_REF, "sr", NULL, 2); /* Assignment operators. */ DEF_ASSN_OPERATOR ("=", NOP_EXPR, "aS", "__as", 2) @@ -138,7 +140,7 @@ DEF_ASSN_OPERATOR ("+=", PLUS_EXPR, "pL", "__apl", 2) DEF_ASSN_OPERATOR ("-=", MINUS_EXPR, "mI", "__ami", 2) DEF_ASSN_OPERATOR ("*=", MULT_EXPR, "mL", "__aml", 2) DEF_ASSN_OPERATOR ("/=", TRUNC_DIV_EXPR, "dV", "__adv", 2) -DEF_ASSN_OPERATOR ("%=", TRUNC_MOD_EXPR, "mD", "__amd", 2) +DEF_ASSN_OPERATOR ("%=", TRUNC_MOD_EXPR, "rM", "__amd", 2) DEF_ASSN_OPERATOR ("&=", BIT_AND_EXPR, "aN", "__aad", 2) DEF_ASSN_OPERATOR ("|=", BIT_IOR_EXPR, "oR", "__aor", 2) DEF_ASSN_OPERATOR ("^=", BIT_XOR_EXPR, "eO", "__aer", 2) @@ -150,4 +152,3 @@ DEF_SIMPLE_OPERATOR ("?:", COND_EXPR, "qu", "__cn", 3) /* Miscellaneous. */ DEF_SIMPLE_OPERATOR ("()", CALL_EXPR, "cl", "__cl", -1) - |