[Bug middle-end/57541] [Cilkplus]: internal compiler error: in gimplify_expr, at gimplify.c:7809

kyukhin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 30 08:23:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57541

--- Comment #11 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Author: kyukhin
Date: Mon Jun 30 08:22:43 2014
New Revision: 212139

URL: https://gcc.gnu.org/viewcvs?rev=212139&root=gcc&view=rev
Log:
PR middle-end/57541
gcc/c/
    * c-array-notation.c (fix_builtin_array_notation_fn):
    Check for 0 arguments in builtin call. Check that bultin argument is
    correct.
    * c-parser.c (c_parser_array_notation): Check for incorrect initial
    index.

gcc/cp/
    * cp-array-notation.c (expand_sec_reduce_builtin):
    Check that bultin argument is correct.
    * call.c (build_cxx_call): Check for 0 arguments in builtin call.

gcc/testsuite/
    * c-c++-common/cilk-plus/AN/pr57541.c: New case added.
    * c-c++-common/cilk-plus/AN/pr57541-2.c: New test.


Added:
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/cilk-plus/AN/pr57541-2.c
Modified:
    branches/gcc-4_9-branch/gcc/c/ChangeLog
    branches/gcc-4_9-branch/gcc/c/c-array-notation.c
    branches/gcc-4_9-branch/gcc/c/c-parser.c
    branches/gcc-4_9-branch/gcc/cp/ChangeLog
    branches/gcc-4_9-branch/gcc/cp/call.c
    branches/gcc-4_9-branch/gcc/cp/cp-array-notation.c
    branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_9-branch/gcc/testsuite/c-c++-common/cilk-plus/AN/pr57541.c



More information about the Gcc-bugs mailing list