> From: Hans-Peter Nilsson <h...@axis.com> > Date: Wed, 15 Aug 2012 02:20:37 +0200
> I looked around and it seems only cris{v32,}-axis-linux-gnu is > affected. Still, besides that target, for a 4.7/r189762 import > and c/c++ testing, boot+regtest in progress for x86_64-linux and > cross-test for cris-axis-elf. The test-case is spot-checked to > pass for a target not implementing any atomics whatsoever, > i.e. mmix-knuth-mmixware. (clean test-results) > Ok for trunk, assuming clean test-results? Maybe 4.7 too, it > being somewhat trivial? > > gcc: > PR middle-end/54261 > * optabs.c (expand_atomic_fetch_op): Save and restore code when > retrying after failed attempt. > > gcc/testsuite: > PR middle-end/54261 > * gcc.dg/torture/pr54261-1.c: New test. Approved on IRC by dnovillo, committed. A backport to 4.7 is trivial but AFAIK not affecting any FSF target so I'll drop that; affected private ports have to have maintainers skilled enough to find this post. brgds, H-P