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 go/59432] [4.9/5 regression] sync/atomic FAILs on 32bit x86 systems without .cfi directives


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

--- Comment #14 from uros at gcc dot gnu.org ---
Author: uros
Date: Wed Oct 15 17:57:17 2014
New Revision: 216281

URL: https://gcc.gnu.org/viewcvs?rev=216281&root=gcc&view=rev
Log:
    PR go/59432
    * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
    Remove the second alternative.
    (regprefix): Remove mode attribute.
    (atomic_compare_and_swap<mode>): Do not fixup operand 2.
    * config/i386/predicates.md (cmpxchg8b_pic_memory_operand): Remove.

    Revert:
    2013-11-05  Ian Lance Taylor  <iant@google.com>

    * config/i386/sync.md (atomic_compare_and_swap<dwi>_doubleword):
    If possible, add .cfi directives to record change to bx.
    * config/i386/i386.c (ix86_emit_cfi): New function.
    * config/i386/i386-protos.h (ix86_emit_cfi): Declare.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386-protos.h
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/predicates.md
    trunk/gcc/config/i386/sync.md


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