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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0
     Ever confirmed|0                           |1
            Summary|[sparc] Inconsistent        |enable 64-bit
                   |behavior for -mcpu=v9 -m32  |compare-and-swap on
                   |on Linux and Solaris        |SPARC/Linux with V9
   Last reconfirmed|                            |2022-01-23
             Status|UNCONFIRMED                 |NEW
           Severity|normal                      |enhancement
             Target|sparc-*-*-*                 |sparc*-*-linux

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Unless there is a specific reason, it would nice if the behavior was
> consistent for both Linux and Solaris such that code that wants to use
> 64-bit atomics would behave the same on the two platforms.

We"re not going to penalize Solaris because of Linux though, so Linux will need
to be changed if anything, which very likely means defaulting to TARGET_V8PLUS
like Solaris for SPARC/Linux if V9.

Reply via email to