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: [gomp] OpenMP 3.0 C parser changes


>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:

Jakub> Committed to gomp-3_0-branch.

Jakub> +      error ("collapse argument needs positive constant integer expression");

Before merging back to the trunk, would you mind changing this to pass
an explicit location using %H?  Perhaps the start of the expression
would be the best location.  Except for the few places where it is
really difficult, I'd like to keep the C parser "%H-clean"; this is
(IMO) more maintainable and generally gives better column information.

In this particular error, maybe collapse should be quoted with %<...%>?

Jakub> +	error ("schedule %<auto%> does not take "
Jakub> +	       "a %<chunk_size%> parameter");

... %H here too.

thanks,
Tom


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