[Bug middle-end/56548] [4.8 Regression] ICE in emit_move_insn, at expr.c:3486 with -march=pentium{pro,2,3} -O3

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 6 17:20:00 GMT 2013


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



More information about the Gcc-bugs mailing list