[Bug go/78980] New: runtime/internal/atomic FAILs on 32-bit SPARC

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug go/78980] New: runtime/internal/atomic FAILs on 32-bit SPARC

thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78980

            Bug ID: 78980
           Summary: runtime/internal/atomic FAILs on 32-bit SPARC
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: ro at gcc dot gnu.org
                CC: cmang at google dot com
  Target Milestone: ---
              Host: sparc*-sun-solaris2.*
            Target: sparc*-sun-solaris2.*
             Build: sparc*-sun-solaris2.*

Between 20160909 and 20160912, there occured a new libgo testsuite failure on
32-bit (only) Solaris/SPARC:

FAIL: runtime/internal/atomic

--- FAIL: TestXadduintptrOnUint64 (0.01s)
        atomic_test.go:65: xadduintptr should increase lower-order bits, want
100, got 429496729600
FAIL
FAIL: runtime/internal/atomic

go/runtime/internal/atomic/atomic_test.go has

// Tests that xadduintptr correctly updates 64-bit values. The place where
// we actually do so is mstats.go, functions mSysStat{Inc,Dec}.
func TestXadduintptrOnUint64(t *testing.T) {
        /*      if runtime.BigEndian != 0 {
                // On big endian architectures, we never use xadduintptr to
update
                // 64-bit values and hence we skip the test.  (Note that
functions
                // mSysStat{Inc,Dec} in mstats.go have explicit checks for
                // big-endianness.)
                return
        }*/

but it's commented (and obviously isn't an issue on 64-bit SPARC).

  Rainer
Reply | Threaded
Open this post in threaded view
|

[Bug go/78980] runtime/internal/atomic FAILs on 32-bit SPARC

thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78980

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |7.0
Reply | Threaded
Open this post in threaded view
|

[Bug go/78980] runtime/internal/atomic FAILs on 32-bit SPARC

thiago at kde dot org
In reply to this post by thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78980

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|7.0                         |7.2

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 7.1 has been released.
Reply | Threaded
Open this post in threaded view
|

[Bug go/78980] runtime/internal/atomic FAILs on 32-bit SPARC

thiago at kde dot org
In reply to this post by thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78980

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|7.2 7.2                     |7.3 7.3

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 7.2 is being released, adjusting target milestone.

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 7.2 is being released, adjusting target milestone.
Reply | Threaded
Open this post in threaded view
|

[Bug go/78980] runtime/internal/atomic FAILs on 32-bit SPARC

thiago at kde dot org
In reply to this post by thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78980

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|7.2 7.2                     |7.3 7.3

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 7.2 is being released, adjusting target milestone.

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 7.2 is being released, adjusting target milestone.
Reply | Threaded
Open this post in threaded view
|

[Bug go/78980] runtime/internal/atomic FAILs on 32-bit SPARC

thiago at kde dot org
In reply to this post by thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78980

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|7.2                         |7.3
Reply | Threaded
Open this post in threaded view
|

[Bug go/78980] runtime/internal/atomic FAILs on 32-bit SPARC

thiago at kde dot org
In reply to this post by thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78980

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|7.3                         |7.4

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 7.3 is being released, adjusting target milestone.
Reply | Threaded
Open this post in threaded view
|

[Bug go/78980] runtime/internal/atomic FAILs on 32-bit SPARC

thiago at kde dot org
In reply to this post by thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78980

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|7.4                         |7.5
Reply | Threaded
Open this post in threaded view
|

[Bug go/78980] runtime/internal/atomic FAILs on 32-bit SPARC

thiago at kde dot org
In reply to this post by thiago at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78980

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|7.5                         |---