https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104402
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:70430001b74d0f67386a6b3642c857b3389cd5d0 commit r12-7080-g70430001b74d0f67386a6b3642c857b3389cd5d0 Author: Richard Biener <rguent...@suse.de> Date: Mon Feb 7 09:31:07 2022 +0100 middle-end/104402 - split out _Complex compares from COND_EXPRs This makes sure we always have a _Complex compare split to a different stmt for the compare operand in a COND_EXPR on GIMPLE. Complex lowering doesn't handle this and the change is something we want for all kind of compares at some point. 2022-02-07 Richard Biener <rguent...@suse.de> PR middle-end/104402 * gimple-expr.cc (is_gimple_condexpr): _Complex typed compares are not valid. * tree-cfg.cc (verify_gimple_assign_ternary): For COND_EXPR check is_gimple_condexpr. * gcc.dg/torture/pr104402.c: New testcase.