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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Host|powerpc64le-linux-gnu       |
              Build|powerpc64le-linux-gnu       |
     Ever confirmed|0                           |1
             Target|powerpc64le-linux-gnu       |powerpc64le-linux-gnu,
                   |                            |sparc-sun-solaris2.11
   Last reconfirmed|                            |2024-06-06
             Status|RESOLVED                    |REOPENED
                 CC|                            |ro at gcc dot gnu.org
         Resolution|FIXED                       |---
   Target Milestone|---                         |15.0

--- Comment #4 from Rainer Orth <ro at gcc dot gnu.org> ---
Unfortunately, the fix broke 32-bit Solaris/SPARC in exchange:

FAIL: gcc.dg/pr100927.c scan-rtl-dump-times final "(?n)\\\\(fix:SI" 3

32-bit sparc has

        (fix:SI (fix:SF (reg:SF 40 %f8 [111]))))
"/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":13:1 213
{fix_truncsfsi2}
        (fix:SI (fix:SF (reg:SF 40 %f8 [111]))))
"/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":22:1 213
{fix_truncsfsi2}
        (fix:SI (fix:SF (reg:SF 40 %f8 [111]))))
"/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":31:1 213
{fix_truncsfsi2}

while 64-bit sparc is

        (fix:SI (fix:SF (reg:SF 40 %f8 [112]))))
"/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":12:10 213
{fix_truncsfsi2}
     (expr_list:REG_EQUIV (fix:SI (const_double:SF 2.147483648e+9 [0x0.8p+32]))
        (fix:SI (fix:SF (reg:SF 40 %f8 [112]))))
"/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":21:10 213
{fix_truncsfsi2}
     (expr_list:REG_EQUIV (fix:SI (const_double:SF -Inf [-Inf]))
        (fix:SI (fix:SF (reg:SF 40 %f8 [112]))))
"/vol/gcc/src/hg/master/local/gcc/testsuite/gcc.dg/pr100927.c":30:10 213
{fix_truncsfsi2}
     (expr_list:REG_EQUIV (fix:SI (const_double:SF -QNaN [-QNaN]))

Reply via email to