This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]