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: PR 28982: reload deals incorrectly with automodified addresses


Richard Sandiford <richard@codesourcery.com> writes:

> gcc/
> 	* reload.c (find_reloads_address_1): Use RELOAD_OTHER for the
> 	index of a PRE_MODIFY or POST_MODIFY address.
> 	* reload1.c (inc_for_reload): Use find_replacement on the original
> 	base and index registers.
> 
> gcc/testsuite/
> 	* gcc.c-torture/execute/pr28982a.c: New test.
> 	* gcc.c-torture/execute/pr28982b.c: Likewise.

This is OK.

Thanks.

Ian


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