This is the mail archive of the gcc-patches@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]

[PATCH] Fix __atomic_compare_exchange library call and tests


__atomic_compare_exchange has 6 parameters of which one is a boolean indicating whether its the weak or strong variation.

The external library doesn't bother with the weak condition, so it only has 5 parameters. When generating the external call for the size specific __atomic_compare_exchange_N variations, that parameter wasn't being removed. It also wasn't being caught by the tests, so I modified the existing testcases to expect certain values and to make sure they are right.

Bootstraps on x86_64-unknown-linux-gnu with no new regressions.

Andrew

Attachment: P
Description: Text document


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