------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-30 08:18 -------
        /* Forbid using -- on `bool'.  */
        if (TREE_TYPE (arg) == boolean_type_node)

That is wrong.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |accepts-invalid, wrong-code
            Summary|++ operator with bool       |++ operator with bool
                   |typedef increments          |typedef increments or
                   |                            |operator -- with bool
                   |                            |typedef


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29295

Reply via email to