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

            Bug ID: 95035
           Summary: [11 regression] gnat.dg/sso/p10.adb FAILs
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ro at gcc dot gnu.org
  Target Milestone: ---
              Host: sparc-sun-solaris2.11
            Target: sparc-sun-solaris2.11
             Build: sparc-sun-solaris2.11

Between 20200508 (a229f9b3737062c6e853879be6683f3f3e4a6661) and 20200510
(4ae915cdbf0d8aec5bf4db9a6b37306e84f99766), gnat.dg/sso/p10.adb started to FAIL
on Solaris/SPARC (both 32 and 64-bit):

+FAIL: gnat.dg/sso/p10.adb   -O0  output pattern test
+FAIL: gnat.dg/sso/p10.adb   -O1 -fno-inline  output pattern test
+FAIL: gnat.dg/sso/p10.adb   -O2  output pattern test
+FAIL: gnat.dg/sso/p10.adb   -O3 -finline-functions  output pattern test
+FAIL: gnat.dg/sso/p10.adb   -Og -g  output pattern test
+FAIL: gnat.dg/sso/p10.adb   -Os  output pattern test
+FAIL: gnat.dg/sso/q10.adb   -O0  output pattern test
+FAIL: gnat.dg/sso/q10.adb   -O1 -fno-inline  output pattern test
+FAIL: gnat.dg/sso/q10.adb   -O2  output pattern test
+FAIL: gnat.dg/sso/q10.adb   -O3 -finline-functions  output pattern test
+FAIL: gnat.dg/sso/q10.adb   -Og -g  output pattern test
+FAIL: gnat.dg/sso/q10.adb   -Os  output pattern test
+FAIL: gnat.dg/sso/t10.adb   -O0  output pattern test
+FAIL: gnat.dg/sso/t10.adb   -O1 -fno-inline  output pattern test
+FAIL: gnat.dg/sso/t10.adb   -O2  output pattern test
+FAIL: gnat.dg/sso/t10.adb   -O3 -finline-functions  output pattern test
+FAIL: gnat.dg/sso/t10.adb   -Og -g  output pattern test
+FAIL: gnat.dg/sso/t10.adb   -Os  output pattern test

Output was:
My_R1    : 78 56 34 12
My_R2    : 78 56 34 12
Local_R1 : 78 56 34 12
Local_R2 : 78 56 34 12
Local_R1 : 78 56 34 12
Local_R2 : 78 56 34 12
Local_R1 : 78 56 34 12
Local_R2 : 78 56 34 12

Should match:
My_R1    : 78 56 34 12.*
My_R2    : 12 34 56 78.*
Local_R1 : 78 56 34 12.*
Local_R2 : 12 34 56 78.*
Local_R1 : 78 56 34 12.*
Local_R2 : 12 34 56 78.*
Local_R1 : 78 56 34 12.*
Local_R2 : 12 34 56 78.*

Looks like an endianess issue.

Reply via email to