This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR 91605


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.edlinger@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.edlinger@hotmail.de>
> 
> 	PR middle-end/91605
> 	* g++.target/i386/pr91605.C: New test.
OK.
Jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]