Alan Modra wrote:

>       PR rtl-optimization/72771
>       * reload.c (find_reloads): Don't assume that a subreg mem is OK
>       when find_reloads_toplev returns address_reloaded==-1.
>       (alternative_allows_const_pool_ref): Update comment.
> testsuite/
>       * gcc.c-torture/compile/pr72771.c: New.

Yes, this makes sense.  address_reloaded == -1 means that the address
may or may not have been fully reloaded, so we always need to take the
conservative action in that case.

The patch is OK.

Bye,
Ulrich
 
-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  ulrich.weig...@de.ibm.com

Reply via email to