opnemp: add static assert for clause_names.
authorMartin Liska <mliska@suse.cz>
Mon, 17 Aug 2020 09:14:13 +0000 (11:14 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 17 Aug 2020 11:57:55 +0000 (13:57 +0200)
commit929c4051afa22859831432d8feccfd1148ce7664
tree527e33084323b24a5d9dc8f70d1c5e4babe69124
parentd8b8023cdb0b275c3f4254380b7e41d14f5cb79f
opnemp: add static assert for clause_names.

gcc/fortran/ChangeLog:

* openmp.c (resolve_omp_clauses): Add static assert
for OMP_LIST_NUM and size of clause_names array.
Remove check that is always true.
gcc/fortran/openmp.c