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]
Other format: [Raw text]

Re: [PATCH] Update COND_EXPR section of c-tree.texi


Richard Henderson wrote:

Is this really necessary?  As a front-end thing, maybe, but it
would seem that the best way to handle this is to use

	(i >= 0 ? i : (abort(), 0))
FE's must canonicalize 'cond ?: false' after all ...

nathan


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