Re: [PATCH][Cilkplus] Check invalid gotos, increments and report errors

2013-01-02 Thread Richard Henderson
On 12/12/2012 07:39 PM, Iyer, Balaji V wrote: > + error_at (EXPR_LOCATION (orig_incr), > + "Invalid loop increment operation."); Error messages should not be Capitalized, nor contain trailing punctuation. r~

[PATCH][Cilkplus] Check invalid gotos, increments and report errors

2012-12-12 Thread Iyer, Balaji V
Hello Everyone, This patch is for Cilk Plus branch affecting mainly the C compiler. It checks to see if the gotos and increment expressions inside cilk_for are valid and report errors otherwise. Thanks, Balaji V. Iyer. Index: gcc/c-family/c-cilk.c ===