https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92302

            Bug ID: 92302
           Summary: [10 regression] gcc.target/sparc/sparc-ret-3.c FAILs
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
                CC: ebotcazou at gcc dot gnu.org, rsandifo at gcc dot gnu.org
  Target Milestone: ---
            Target: sparc*-*-solaris2.11

Between 20190930 (r276306) and 20191001 (r276415), the
gcc.target/sparc/sparc-ret-3.c test regressed on Solaris/SPARC:

+FAIL: gcc.target/sparc/sparc-ret-3.c scan-assembler ld[
\\t]*\\\\[%i5\\\\+8\\\\], %i0\\n[^\\n]*return[ \\t]*%i7\\\\+8

The only difference in the assembler output is

---
/var/gcc/regression/gcc-9-branch/11.5-gcc/build/gcc/testsuite/gcc/sparc-ret-3.s
    2019-10-31 14:15:19.895733250 +0000
+++ sparc-ret-3.s       2019-10-31 14:14:57.673941380 +0000
@@ -20,7 +20,7 @@
        mov     %i1, %o1
        call    crypto_shash_update, 0
         mov    %i5, %o0
-       ld      [%i5+8], %i0
+       ld      [%sp+104], %i0
        return  %i7+8
         nop
        .size   bug, .-bug

This might well be related to

2019-10-01  Richard Sandiford  <richard.sandif...@arm.com>

gcc/
        * regs.h (HARD_REGNO_CALLER_SAVE_MODE): Update call to
        choose_hard_reg_mode.
        * config/sparc/sparc.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.

Reply via email to