This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49640] Internal compiler in C99 code (using variable-length arrays) and OpenMP
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Jul 2011 19:34:04 +0000
- Subject: [Bug middle-end/49640] Internal compiler in C99 code (using variable-length arrays) and OpenMP
- Auto-submitted: auto-generated
- References: <bug-49640-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49640
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-19 19:33:34 UTC ---
Author: jakub
Date: Tue Jul 19 19:33:30 2011
New Revision: 176486
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176486
Log:
Backport from mainline
2011-07-07 Jakub Jelinek <jakub@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_4-branch/gcc/testsuite/gcc.dg/gomp/pr49640.c
Modified:
branches/gcc-4_4-branch/gcc/ChangeLog
branches/gcc-4_4-branch/gcc/gimplify.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog