This is the mail archive of the gcc-patches@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]

RE: [patch] cilkplus: Array notation for C patch


On 30 April 2013 00:55:16 "Joseph S. Myers" <joseph@codesourcery.com> wrote:

> +  if (flag_enable_cilkplus && contains_array_notation_expr (cond))
> +    {
> + error_at (start_locus, "array notation expression cannot be used in a "
> +		"loop%'s condition");
> +      return;
> +    }
> +  if (flag_enable_cilkplus && contains_array_notation_expr (incr) && 0)
> +    {
> + error_at (start_locus, "array notation expression cannot be used in a "
> +		"loop's increment expression");
> +      return;
> +    }

Use %' in the second error here, as you did in the first.

Or just delete this second error, it is dead code ATM (&&0).


Sent with AquaMail for Android
http://www.aqua-mail.com



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