This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ PATCH: Bug in ?: operator


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/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]