On Thu, Feb 11, 2021 at 03:03:38PM +0000, Richard Sandiford via Gcc-patches 
wrote:
> gcc/
>       * df-problems.c (df_lr_bb_local_compute): Treat partial definitions
>       as read-modify operations.
> 
> gcc/testsuite/
>       * gcc.dg/rtl/aarch64/multi-subreg-1.c: New test.

The test fails everywhere but on aarch64.

Fixed thusly, tested on x86_64-linux -m32/-m64, committed to trunk as
obvious:

2021-02-13  Jakub Jelinek  <ja...@redhat.com>

        * gcc.dg/rtl/aarch64/multi-subreg-1.c: Add dg-do compile directive
        and restrict the test to aarch64-*-* target only.

--- gcc/testsuite/gcc.dg/rtl/aarch64/multi-subreg-1.c.jj        2021-02-12 
23:57:30.594140834 +0100
+++ gcc/testsuite/gcc.dg/rtl/aarch64/multi-subreg-1.c   2021-02-13 
00:01:04.935749889 +0100
@@ -1,3 +1,4 @@
+/* { dg-do compile { target aarch64-*-* } } */
 /* { dg-additional-options "-O -fdump-rtl-cse1-all" } */
 
 __int128 __RTL (startwith ("vregs")) foo (void)


        Jakub

Reply via email to