optabs.c (get_atomic_op_for_code): Fill in optab table at runtime so SWITCHABLE_TARGE...
authorAndrew MacLeod <amacleod@redhat.com>
Mon, 7 Nov 2011 20:10:03 +0000 (20:10 +0000)
committerAndrew Macleod <amacleod@gcc.gnu.org>
Mon, 7 Nov 2011 20:10:03 +0000 (20:10 +0000)
commit6ff336b4aadf288192a06a2234c81f3f2d84f942
tree29ab1b545dad980846a9d15d08cff157a0de68bc
parent0669295b1e7991bb5465267d4bd06576883e648b
optabs.c (get_atomic_op_for_code): Fill in optab table at runtime so SWITCHABLE_TARGET can change the valuies...

2011-11-07  Andrew MacLeod  <amacleod@redhat.com>

* optabs.c (get_atomic_op_for_code): Fill in optab table at runtime so
SWITCHABLE_TARGET can change the valuies during compilation.
(expand_atomic_fetch_op): handle parameter changes ripples for
get_atomic_op_for_code call.

From-SVN: r181112
gcc/ChangeLog
gcc/optabs.c