This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: Overloaded operators
- To: mark at codesourcery dot com
- Subject: Re: C++ PATCH: Overloaded operators
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 28 May 2000 10:24:16 -0300
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: Cygnus Solutions, a Red Hat Company
- References: <200005280321.UAA03939@vaio.codesourcery.com>
On May 28, 2000, Mark Mitchell <mark@codesourcery.com> wrote:
> * operators.def: New file.
There was a typo here, that broke libg++. I'm checking this in under
the obviously correct rule.
Index: gcc/cp/ChangeLog
from Alexandre Oliva <aoliva@cygnus.com>
* operators.def (<?): Duplicated, should have been...
(>?): this. Fixed.
Index: gcc/cp/operators.def
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/operators.def,v
retrieving revision 1.1
diff -u -r1.1 operators.def
--- gcc/cp/operators.def 2000/05/28 02:58:15 1.1
+++ gcc/cp/operators.def 2000/05/28 13:23:04
@@ -130,7 +130,7 @@
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)
+DEF_SIMPLE_OPERATOR (">?", MAX_EXPR, "vx3max", "__mx", 2)
/* Assignment operators. */
DEF_ASSN_OPERATOR ("=", NOP_EXPR, "aS", "__as", 2)
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me