* expr.c (emit_group_store): Check whether simplify_gen_subreg returns
NULL_RTX, indicating it couldn't create a valid paradoxical subreg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112626
138bc75d-0d04-0410-961f-
82ee72b054a4
+2006-04-02 Roger Sayle <roger@eyesopen.com>
+
+ PR middle-end/26977
+ * expr.c (emit_group_store): Check whether simplify_gen_subreg returns
+ NULL_RTX, indicating it couldn't create a valid paradoxical subreg.
+
2006-04-02 Sebastian Pop <pop@cri.ensmp.fr>
PR tree-optimization/26939
{
temp = simplify_gen_subreg (outer, tmps[start],
inner, bytepos);
- emit_move_insn (dst, temp);
- done = true;
- start++;
+ if (temp)
+ {
+ emit_move_insn (dst, temp);
+ done = true;
+ start++;
+ }
}
}
{
temp = simplify_gen_subreg (outer, tmps[finish - 1],
inner, bytepos);
- emit_move_insn (dst, temp);
- done = true;
- finish--;
+ if (temp)
+ {
+ emit_move_insn (dst, temp);
+ done = true;
+ finish--;
+ }
}
}