[Bug middle-end/49640] Internal compiler in C99 code (using variable-length arrays) and OpenMP

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 19 19:34:00 GMT 2011


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



More information about the Gcc-bugs mailing list