Commit 4e1eac56 by Georg-Johann Lay Committed by Georg-Johann Lay

re PR target/71103 (avr-gcc crashes with unrecognizable insn error)

	PR target/71103
	* config/avr/avr.md (movqi): Only handle loading subreg:qi of
	constant addresses if can_create_pseudo_p.

From-SVN: r237635
parent 0ad84f34
2016-06-21 Georg-Johann Lay <avr@gjlay.de>
PR target/71103
* config/avr/avr.md (movqi): Only handle loading subreg:qi of
constant addresses if can_create_pseudo_p.
2016-06-21 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/71588
......
......@@ -643,8 +643,9 @@
if (QImode == <MODE>mode
&& SUBREG_P (src)
&& CONSTANT_ADDRESS_P (SUBREG_REG (src)))
{
&& CONSTANT_ADDRESS_P (SUBREG_REG (src))
&& can_create_pseudo_p())
{
// store_bitfield may want to store a SYMBOL_REF or CONST in a
// structure that's represented as PSImode. As the upper 16 bits
// of PSImode cannot be expressed as an HImode subreg, the rhs is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment