]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
operators.def: Add <?= and >?=.
authorMark Mitchell <mark@codesourcery.com>
Wed, 5 Feb 2003 01:01:03 +0000 (01:01 +0000)
committerGabriel Dos Reis <gdr@gcc.gnu.org>
Wed, 5 Feb 2003 01:01:03 +0000 (01:01 +0000)
2003-02-03  Mark Mitchell  <mark@codesourcery.com>

        * operators.def: Add <?= and >?=.

From-SVN: r62424

gcc/cp/ChangeLog
gcc/cp/operators.def

index a0c59535ff746a50c67fd3c9ee2b62d0759e7f0c..073c16706128e07512864f87fb37be5a14068be9 100644 (file)
@@ -1,3 +1,7 @@
+2003-02-03  Mark Mitchell  <mark@codesourcery.com>
+       
+       * operators.def: Add <?= and >?=.
+       
 2003-01-28  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
 
        * Make-lang.in (c++.install-common, c++.install-man)
index 85043803f4d9675866c35e042dda07a62f3dd342..05a5a39de379efd3367500a9f4471e081df8889a 100644 (file)
@@ -5,7 +5,7 @@
    non-overloadable operators (like the `?:' ternary operator).  
    Writtey by Mark Mitchell <mark@codesourcery.com>
 
-   Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA.  */
      assignment operators, the same tree-codes are reused; i.e.,
      `operator +' will also have PLUS_EXPR as its CODE.
 
-   NEW_MANGLING
+   MANGLING
 
      The mangling prefix for the operator, as a C string, and as
      mangled under the new ABI.  For `operator +', for example, this
@@ -127,7 +127,7 @@ DEF_SIMPLE_OPERATOR ("->", COMPONENT_REF, "pt", 2)
 DEF_SIMPLE_OPERATOR ("[]", ARRAY_REF, "ix", 2)
 DEF_SIMPLE_OPERATOR ("++", POSTINCREMENT_EXPR, "pp", 2)
 DEF_SIMPLE_OPERATOR ("--", POSTDECREMENT_EXPR, "mm", 2)
-/* These are extensions.  */
+/* These operators are GNU extensions.  */
 DEF_SIMPLE_OPERATOR ("<?", MIN_EXPR, "v23min", 2)
 DEF_SIMPLE_OPERATOR (">?", MAX_EXPR, "v23max", 2)
 /* This one is needed for mangling.  */
@@ -145,6 +145,9 @@ DEF_ASSN_OPERATOR ("|=", BIT_IOR_EXPR, "oR", 2)
 DEF_ASSN_OPERATOR ("^=", BIT_XOR_EXPR, "eO", 2)
 DEF_ASSN_OPERATOR ("<<=", LSHIFT_EXPR, "lS", 2)
 DEF_ASSN_OPERATOR (">>=", RSHIFT_EXPR, "rS", 2)
+/* These operators are GNU extensions.  */
+DEF_ASSN_OPERATOR ("<?=", MIN_EXPR, "v23miN", 2);
+DEF_ASSN_OPERATOR (">?=", MAX_EXPR, "v23maX", 2);
 
 /* Ternary operators.  */
 DEF_SIMPLE_OPERATOR ("?:", COND_EXPR, "qu", 3)