This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/11784] New: atomic __exchange_and_add() broken for ColdFire and 68000 targets.


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11784

           Summary: atomic __exchange_and_add() broken for ColdFire and
                    68000 targets.
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: bernie at develer dot com
        ReportedBy: bernie at develer dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: m68k-elf

User apps linking with libstdc++ segfault on ColdFire targets because 
__exchange_and_add() for vxWorks/__embedded__ targets tries to disable 
interrupts with the "move #0,%sr" privileged opcode. 
 
Patch attached.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]