r198726 - in /branches/cilkplus/gcc: ChangeLog....
bviyer@gcc.gnu.org
bviyer@gcc.gnu.org
Wed May 8 21:39:00 GMT 2013
Author: bviyer
Date: Wed May 8 21:39:50 2013
New Revision: 198726
URL: http://gcc.gnu.org/viewcvs?rev=198726&root=gcc&view=rev
Log:
Reject struct/record types in array notation builtin functions.
2013-05-08 Balaji V. Iyer <balaji.v.iyer@intel.com>
* c/c-array-notation.c (fix_builtin_array_notation_fn): Added a check
for non-arithmetic types in array notation builtin functions.
* cp/cp-array-notation.c (fix_builtin_array_notation_fn): Added a check
for non-arithmetic types in array notation builtin functions.
Added:
branches/cilkplus/gcc/testsuite/g++.dg/cilk-plus/array_notation_tests/errors/invalid_types.cc
branches/cilkplus/gcc/testsuite/gcc.dg/cilk-plus/array_notation_tests/errors/invalid_types.c
Modified:
branches/cilkplus/gcc/ChangeLog.cilkplus
branches/cilkplus/gcc/c/c-array-notation.c
branches/cilkplus/gcc/cp/ChangeLog.cilkplus
branches/cilkplus/gcc/cp/cp-array-notation.c
More information about the Gcc-cvs
mailing list