aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/operators.def
diff options
context:
space:
mode:
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>2001-11-18 06:24:45 +0000
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>2001-11-18 06:24:45 +0000
commit873ff98777cfd6685aae1aac33d2bc4d52bcd781 (patch)
tree088f153453be5db54057e007758e8f560c599b5d /gcc/cp/operators.def
parent6f684b536827ea2e00d45fa88b8be9b301bfd8e0 (diff)
downloadgcc-873ff98777cfd6685aae1aac33d2bc4d52bcd781.zip
gcc-873ff98777cfd6685aae1aac33d2bc4d52bcd781.tar.gz
gcc-873ff98777cfd6685aae1aac33d2bc4d52bcd781.tar.bz2
mangle.c (write_expression): Handle CAST_EXPR, STATIC_CAST_EXPR, CONST_CAST_EXPR.
* mangle.c (write_expression): Handle CAST_EXPR, STATIC_CAST_EXPR, CONST_CAST_EXPR. * operators.def: Add CAST_EXPR, STATIC_CAST_EXPR, CONST_CAST_EXPR. From-SVN: r47135
Diffstat (limited to 'gcc/cp/operators.def')
-rw-r--r--gcc/cp/operators.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/cp/operators.def b/gcc/cp/operators.def
index ddae93a..8e0f7b2 100644
--- a/gcc/cp/operators.def
+++ b/gcc/cp/operators.def
@@ -102,6 +102,9 @@ DEF_SIMPLE_OPERATOR ("alignof", ALIGNOF_EXPR, "v17alignof", 1)
/* The cast operator. */
DEF_SIMPLE_OPERATOR ("", TYPE_EXPR, "cv", 1)
+DEF_SIMPLE_OPERATOR ("", CAST_EXPR, "cv", 1)
+DEF_SIMPLE_OPERATOR ("", CONST_CAST_EXPR, "cv", 1)
+DEF_SIMPLE_OPERATOR ("", STATIC_CAST_EXPR, "cv", 1)
/* Binary operators. */
DEF_SIMPLE_OPERATOR ("+", PLUS_EXPR, "pl", 2)