http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49640
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-19 13:06:04 UTC --- Author: jakub Date: Tue Jul 19 13:06:00 2011 New Revision: 176455 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176455 Log: Backport from mainline 2011-07-07 Jakub Jelinek <ja...@redhat.com> PR middle-end/49640 * gimplify.c (gimplify_compound_lval): For last 2 ARRAY_*REF operands and last COMPONENT_REF operand call gimplify_expr on it if non-NULL. * gcc.dg/gomp/pr49640.c: New test. Added: branches/gcc-4_5-branch/gcc/testsuite/gcc.dg/gomp/pr49640.c Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/gimplify.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog