Hi Jakub!

On Tue, 29 Nov 2016 17:47:08 -0800, Cesar Philippidis <ce...@codesourcery.com> 
wrote:
> One notable difference between the trunk and gomp4 implementation of the
> tile clause is that gomp4 errors on negative value tile arguments,
> whereas trunk issues warnings.

I'm picking up these changes, which have been posted a few times, and
have been rejected (at least in their current incarnation) a few times,
too.  ;-\

> Is there a reason why the fortran FE
> generally emits a warning, on say num_threads(-5), instead of an error?

Same for the C/C++ front ends, which I'm looking into first.

Jakub, is the reason that even if the user is clearly doing something
"strage" there, the compiler doesn't have a problem to continue
compilation for 'num_threads(-5)', so it just emits a warning, but for
example for 'collapse(-5)' is has to stop with an error, because it can't
continue compilation in that case?  Or, is there a different reason for
the many 'warning_at ([...], "[...] must be positive"' (C front end, for
example), instead of using 'error_at' for these?


Grüße
 Thomas

Attachment: signature.asc
Description: PGP signature

Reply via email to