This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/56548] [4.8 Regression] ICE in emit_move_insn, at expr.c:3486 with -march=pentium{pro,2,3} -O3
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 06 Mar 2013 17:18:53 +0000
- Subject: [Bug middle-end/56548] [4.8 Regression] ICE in emit_move_insn, at expr.c:3486 with -march=pentium{pro,2,3} -O3
- Auto-submitted: auto-generated
- References: <bug-56548-4@http.gcc.gnu.org/bugzilla/>
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