[Bug target/37640] __sync_lock_test_and_set on PPC64 causes ICE
bje at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 18 22:10:00 GMT 2008
------- Comment #7 from bje at gcc dot gnu dot org 2008-11-18 22:09 -------
Subject: Bug 37640
Author: bje
Date: Tue Nov 18 22:07:58 2008
New Revision: 141980
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141980
Log:
Backport from mainline:
PR target/37640
2008-09-28 Andrew Pinski <andrew_pinski@playstation.sony.com>
* config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Force
address to a register before taking the lower part.
testsuite/
* gcc.c-torture/compile/sync-3.c: New testcase to check that
addresses of non zero offset works.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.c-torture/compile/sync-3.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/rs6000/rs6000.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37640
More information about the Gcc-bugs
mailing list