This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49238] [4.5/4.6/4.7 Regression] [SH] ICE in extract_insn, at recog.c:2113
- From: "kkojima at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 8 Jun 2011 04:07:48 +0000
- Subject: [Bug target/49238] [4.5/4.6/4.7 Regression] [SH] ICE in extract_insn, at recog.c:2113
- Auto-submitted: auto-generated
- References: <bug-49238-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49238
--- Comment #2 from Kazumoto Kojima <kkojima at gcc dot gnu.org> 2011-06-08 04:07:29 UTC ---
Author: kkojima
Date: Wed Jun 8 04:07:25 2011
New Revision: 174793
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174793
Log:
PR target/49238
* config/sh/sh.c (expand_cbranchdi4): Use a scratch register if
needed when original operands are used for msw_skip comparison.
* gcc.c-torture/compile/pr49238.c: New.
Added:
branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr49238.c
Modified:
branches/gcc-4_6-branch/gcc/ChangeLog
branches/gcc-4_6-branch/gcc/config/sh/sh.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog