https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103114
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The FE should check if the second fold_convert folds into constant (the first one for 0 will always succeed) and build_complex only if it is, otherwise build a COMPLEX_EXPR.