C++ PATCH: Bug in ?: operator

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Wed May 5 12:48:00 GMT 1999


What happened to the patch below? 

  http://egcs.cygnus.com/ml/egcs-patches/1999-04/msg00596.html

  Wed Apr 14 16:52:56 BST 1999  Nathan Sidwell  <nathan@acm.org>

        * expr.c (expand_expr): Cope with COND_EXPRs with one
        non-returning branch.
        
  Wed Apr 14 16:52:56 BST 1999  Nathan Sidwell  <nathan@acm.org>

        * call.c (add_builtin_candidate): Allow unpromoted enumeral
        choices in COND_EXPRs.
        * typeck.c (build_conditional_expr): Use same_type_p. Allow
        mismatched enumerals to promote. Deal with throw in one branch.
        As extension permit one side to be void. Don't die on converting
        to void.
        (build_modify_expr): Adjust for such COND_EXPRs on lhs.

As far as I can see, it didn't get any, but was not explicitely rejected,
either...

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/



More information about the Gcc-patches mailing list