#4138 new defect

the atomicity of some operations cannot be guaranteed.

Reported by: only_yipie Owned by:
Priority: normal Milestone: 5.1
Component: tool/gcc Version: 4.11
Severity: normal Keywords: gcc、atomicity.h
Cc: Blocked By:
Blocking:

Description

The atomic operations _atmoic_add() and exchange_and_add() of the gcci386 tool chain do not use the lock instruction, thus the atomicity of operations cannot be guaranteed.
The related file is "gcc-4.9.3/libstdc++-v3/config/cpu/i386/atomicity.h".

Change History (4)

comment:1 Changed on Oct 9, 2020 at 11:24:16 AM by only_yipie

Milestone: 4.9.55.1

comment:2 Changed on Oct 9, 2020 at 11:25:57 AM by Joel Sherrill

Is this not fixed with the recent multilib change?

comment:3 Changed on Mar 21, 2021 at 9:32:21 AM by only_yipie

Version: 4.94.11

comment:4 in reply to:  2 Changed on Mar 21, 2021 at 9:33:42 AM by only_yipie

no we used our own method to improve this problem and we will submit the solution later.
Replying to Joel Sherrill:

Is this not fixed with the recent multilib change?

Last edited on Mar 21, 2021 at 9:44:47 AM by only_yipie (previous) (diff)
Note: See TracTickets for help on using tickets.