https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61252
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Wed May 21 08:06:04 2014 New Revision: 210681 URL: http://gcc.gnu.org/viewcvs?rev=210681&root=gcc&view=rev Log: PR middle-end/61252 * omp-low.c (handle_simd_reference): New function. (lower_rec_input_clauses): Use it. Defer adding reference initialization even for reduction without placeholder if in simd, handle it properly later on. * testsuite/libgomp.c++/simd-9.C: New test. Added: branches/gcc-4_9-branch/libgomp/testsuite/libgomp.c++/simd-9.C Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/omp-low.c branches/gcc-4_9-branch/libgomp/ChangeLog