[Bug libgomp/33720] A negative value in OpenMP clause num_threads is not detected at runtime

2021-12-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33720 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIRM

[Bug libgomp/33720] A negative value in OpenMP clause num_threads is not detected at runtime

2013-06-19 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33720 --- Comment #8 from Manuel López-Ibáñez --- (In reply to Jakub Jelinek from comment #7) > I still believe it is not needed to slow down the runtime library with > checks for invalid programs. Negative num_threads is undefined behavior, > just don

[Bug libgomp/33720] A negative value in OpenMP clause num_threads is not detected at runtime

2013-06-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33720 --- Comment #7 from Jakub Jelinek --- I still believe it is not needed to slow down the runtime library with checks for invalid programs. Negative num_threads is undefined behavior, just don't do it.

[Bug libgomp/33720] A negative value in OpenMP clause num_threads is not detected at runtime

2013-06-19 Thread geir at cray dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33720 --- Comment #6 from Geir Johansen --- Fails in GCC 4.8.0: $ gcc --version gcc (GCC) 4.8.0 20130322 (Cray Inc.) Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty;

[Bug libgomp/33720] A negative value in OpenMP clause num_threads is not detected at runtime

2009-09-14 Thread geir at cray dot com
--- Comment #5 from geir at cray dot com 2009-09-14 19:59 --- (In reply to comment #4) > Geir, have you run the testcase with other compilers? What is the result? > Changed test cast to use 2 threads ("omp_set_num_threads(2);") PGI 9.0-3 $ pgcc -mp bug2883.c $ ./a.out pi 3.14

[Bug libgomp/33720] A negative value in OpenMP clause num_threads is not detected at runtime

2009-07-31 Thread manu at gcc dot gnu dot org
--- Comment #4 from manu at gcc dot gnu dot org 2009-07-31 15:11 --- Geir, have you run the testcase with other compilers? What is the result? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33720

[Bug libgomp/33720] A negative value in OpenMP clause num_threads is not detected at runtime

2008-08-06 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2008-08-07 02:55 --- (In reply to comment #2) > I'm not sure we should do anything about this. > We have a warning if the compiler can detect non-positive value at compile > time, > but we certainly can't ever issue any diagnostic at runtim

[Bug libgomp/33720] A negative value in OpenMP clause num_threads is not detected at runtime

2007-11-12 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-11-12 19:37 --- I'm not sure we should do anything about this. We have a warning if the compiler can detect non-positive value at compile time, but we certainly can't ever issue any diagnostic at runtime for num_threads 0 (because the