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 rtl-optimization/69904] [6 Regression] shrink-wrapping creates weird atomic compare exchange loop on arm


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

--- Comment #7 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Thu Mar  3 17:25:43 2016
New Revision: 233941

URL: https://gcc.gnu.org/viewcvs?rev=233941&root=gcc&view=rev
Log:
[ARM] PR rtl-optimization/69904: Disallow copying/duplicating of load-exclusive
operations

        PR rtl-optimization/69904
        * config/arm/arm.c (arm_cannot_copy_insn_p):
        Return true for load-exclusive instructions.

        * gcc.target/arm/pr69904.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/arm/pr69904.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm.c
    trunk/gcc/testsuite/ChangeLog

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