On 9/3/19 8:40 PM, Jeff Law wrote: > On 9/1/19 4:36 AM, Bernd Edlinger wrote: >> Hi, >> >> this fixes an oversight in r274986. >> We need to avoid using movmisalign on DECL_P which are not in memory, >> similar to the !mem_ref_refers_to_non_mem_p which unfortunately can't >> handle DECL_P. >> >> >> Bootstrapped and reg-tested on x86_64-pc-linux-gnu. >> Is it OK for trunk? >> >> >> Thanks >> Bernd. >> >> >> patch-pr91605.diff >> >> 2019-09-01 Bernd Edlinger <bernd.edlin...@hotmail.de> >> >> PR middle-end/91605 >> * expr.c (expand_assignment): Avoid DECL_P with DECL_RTL >> not being MEM_P. >> >> testsuite: >> 2019-09-01 Bernd Edlinger <bernd.edlin...@hotmail.de> >> >> PR middle-end/91605 >> * g++.target/i386/pr91605.C: New test. > OK. > Jeff >
Thanks Jeff, but I have already applied a slightly improved patch which has approved by Richi: https://gcc.gnu.org/ml/gcc-patches/2019-09/msg00059.html Bernd.