* sh.c (final_prescan_insn): Undo bogus change from 2005-05-09.

From-SVN: r101662
This commit is contained in:
J"orn Rennecke 2005-07-06 19:19:18 +00:00 committed by Joern Rennecke
parent 4e422b8bf1
commit 4b7d2f0796
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2005-07-06 J"orn Rennecke <joern.rennecke@st.com>
* sh.c (final_prescan_insn): Undo bogus change from 2005-05-09.
2005-07-06 Daniel Berlin <dberlin@dberlin.org>
Fix PR tree-optimization/22319

View File

@ -4951,12 +4951,10 @@ final_prescan_insn (rtx insn, rtx *opvec ATTRIBUTE_UNUSED,
rtx pattern;
pattern = PATTERN (insn);
if (GET_CODE (pattern) == PARALLEL)
pattern = XVECEXP (pattern, 0, 0);
switch (GET_CODE (pattern))
{
case PARALLEL:
pattern = XVECEXP (pattern, 0, 0);
break;
case SET:
if (GET_CODE (SET_SRC (pattern)) != CALL
&& get_attr_type (insn) != TYPE_SFUNC)