http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49640
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-07 12:50:08 UTC --- Author: jakub Date: Thu Jul 7 12:50:03 2011 New Revision: 175968 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175968 Log: 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_6-branch/gcc/testsuite/gcc.dg/gomp/pr49640.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/gimplify.c branches/gcc-4_6-branch/gcc/testsuite/ChangeLog