aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/operators.def
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2002-07-02 03:19:22 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2002-07-02 03:19:22 +0000
commit5d69ba1faa7a74aaa44795573aa89ebb834c16d0 (patch)
tree8a402d57cf27037db16d46abdc1f0c6a8166faac /gcc/cp/operators.def
parent68a830fe3a4d760b2a991c706aa12f4716015ec5 (diff)
downloadgcc-5d69ba1faa7a74aaa44795573aa89ebb834c16d0.zip
gcc-5d69ba1faa7a74aaa44795573aa89ebb834c16d0.tar.gz
gcc-5d69ba1faa7a74aaa44795573aa89ebb834c16d0.tar.bz2
re PR c++/7112 (Regression: ICE on C++ code involving templates and sizeof)
PR c++/7112 * g++.dg/template/sizeof2.C: New test. PR c++/7112 * mangle.c (write_expression): Add mangling for sizeof when applied to a type. * operators.def: Remove stale comment. * cp-demangle.c (demangle_operator_name): Add type_arg parameter. Set it for the "st" operator. (demangle_expression): Handle expressions with types as arguments. From-SVN: r55169
Diffstat (limited to 'gcc/cp/operators.def')
-rw-r--r--gcc/cp/operators.def6
1 files changed, 1 insertions, 5 deletions
diff --git a/gcc/cp/operators.def b/gcc/cp/operators.def
index 775f59d..8504380 100644
--- a/gcc/cp/operators.def
+++ b/gcc/cp/operators.def
@@ -5,7 +5,7 @@
non-overloadable operators (like the `?:' ternary operator).
Writtey by Mark Mitchell <mark@codesourcery.com>
- Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -46,10 +46,6 @@ Boston, MA 02111-1307, USA. */
mangled under the new ABI. For `operator +', for example, this
would be "pl".
- OLD_MANGLING
-
- Analogous, but for the old ABI.
-
ARITY
The arity of the operator, or -1 if any arity is allowed. (As