http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56548
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-03-06 17:18:53 UTC --- Author: jakub Date: Wed Mar 6 17:18:46 2013 New Revision: 196498 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196498 Log: PR middle-end/56548 * expr.c (expand_cond_expr_using_cmove): When expanding cmove in promoted mode, convert the result back to the original mode. * gcc.dg/pr56548.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr56548.c Modified: trunk/gcc/ChangeLog trunk/gcc/expr.c trunk/gcc/testsuite/ChangeLog