]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
fix pr c/57577
authorBalaji V. Iyer <balaji.v.iyer@intel.com>
Wed, 12 Jun 2013 22:03:20 +0000 (22:03 +0000)
committerBalaji V. Iyer <bviyer@gcc.gnu.org>
Wed, 12 Jun 2013 22:03:20 +0000 (15:03 -0700)
commit73a23b06358ad97298f638c98c5857aa5cf0427c
tree8687d4442d46f2ae893bd8d95b104c6f7d5bfea0
parent6a0263647ee6694086e4dec1ee67094a31df10d9
fix pr c/57577

fix pr c/57577
gcc/c/ChangeLog
+2013-06-12  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       * c-array-notation.c (build_array_notation_expr): Reject array notation
+       mismatch between LHS and RHS even inside a call_expr.  Also, removed
+       a couple while statements that were dead code.
+

gcc/testsuite/ChangeLog
+2013-06-12  Balaji V. Iyer  <balaji.v.iyer@intel.com>
+
+       PR c/57577
+       * c-c++-common/cilk-plus/AN/pr57577.c: New testcase.
+

From-SVN: r200043
gcc/c/ChangeLog
gcc/c/c-array-notation.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/cilk-plus/AN/pr57577.c [new file with mode: 0644]