Re: [patch,avr] ad PR71103: also handle QImode SUBREGs of CONST

2016-06-15 Thread Denis Chertykov
2016-06-15 12:11 GMT+03:00 Georg-Johann Lay : > This patch handles the cases when subreg:QI of a CONST or LABEL_REF is to be > moved to a QImode register. The original patch only handled SYMBOL_REFs. > > OK for trunk and backport? > > > Johann > > -- > > gcc/ > PR

[patch,avr] ad PR71103: also handle QImode SUBREGs of CONST

2016-06-15 Thread Georg-Johann Lay
This patch handles the cases when subreg:QI of a CONST or LABEL_REF is to be moved to a QImode register. The original patch only handled SYMBOL_REFs. OK for trunk and backport? Johann -- gcc/ PR target/71103 * config/avr/avr.md (movqi): Handle loading subreg:qi (const).