http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48591
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-04-13 15:52:22 UTC --- Author: jakub Date: Wed Apr 13 15:52:17 2011 New Revision: 172381 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=172381 Log: PR middle-end/48591 * omp-low.c (expand_omp_atomic_fetch_op): Return false if decl is NULL. (expand_omp_atomic_pipeline): Return false if cmpxchg is NULL. * gcc.dg/gomp/pr48591.c: New test. * testsuite/libgomp.c/pr48591.c: New test. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/gomp/pr48591.c branches/gcc-4_6-branch/libgomp/testsuite/libgomp.c/pr48591.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/omp-low.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/libgomp/ChangeLog