This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] COND_EXPR lowering.
Hello,
> writes:
> >Perhaps we ought to change the semantics of COND_EXPR completely and not
> >consider its clauses separate statements. If we are going to do this,
> >we need to make sure that the iterators never stop at the clauses, only
> >at the parent COND_EXPR.
> At which point I think you have to use something other than COND_EXPR
> since I believe it's assumed all over the place that statements are
> hung off the arms of a COND_EXPR. That's one of the reasons why I really
> want to see the arms continue to be normal looking GOTO_EXPR statements.
no, there is not a single place where it is assumed.
Zdenek