diff options
author | Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> | 2001-11-18 06:24:45 +0000 |
---|---|---|
committer | Kriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org> | 2001-11-18 06:24:45 +0000 |
commit | 873ff98777cfd6685aae1aac33d2bc4d52bcd781 (patch) | |
tree | 088f153453be5db54057e007758e8f560c599b5d /gcc/cp/operators.def | |
parent | 6f684b536827ea2e00d45fa88b8be9b301bfd8e0 (diff) | |
download | gcc-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.def | 3 |
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) |