[PATCH] Introduce warning -Womp-default-scope

VandeVondele Joost joost.vandevondele@mat.ethz.ch
Tue Sep 23 14:17:00 GMT 2014

Attached patch introduces an optional warning for an OMP parallel/task/teams construct without explicit default(none). This would effectively catch the number one reason of easy-to-avoid OMP bugs in our project.

Tested with check-fortran, full bootstrap & check in progress. OK for trunk if this passes ?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-warn-omp-default-scope_v01.diff
Type: text/x-patch
Size: 1758 bytes
Desc: patch-warn-omp-default-scope_v01.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140923/23f3272d/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-warn-omp-default-scope_v01-CL.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140923/23f3272d/attachment.txt>

More information about the Gcc-patches mailing list