[PATCH] openmp: fix UBSAN error at gcc/fortran/openmp.c:4737

Martin Liška mliska@suse.cz
Mon Aug 17 09:15:50 GMT 2020


On 8/17/20 10:52 AM, Tobias Burnus wrote:
> LGTM & thanks! – Sorry for missing it.

That happens.

> (I re-checked against the OMP_LIST_* enum and
> it seems to be only missing one.)

Good.

I'm suggesting one more clean up that uses static assert
instead of a run-time check.

Thoughts?
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-opnemp-add-static-assert-for-clause_names.patch
Type: text/x-patch
Size: 1339 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200817/cff019fe/attachment.bin>


More information about the Gcc-patches mailing list