[Bug libgomp/80394] Empty OpenMP task is wrongly removed when optimizing
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 11 17:16:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80394
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Apr 11 17:15:47 2017
New Revision: 246849
URL: https://gcc.gnu.org/viewcvs?rev=246849&root=gcc&view=rev
Log:
PR libgomp/80394
* omp-low.c (scan_omp_task): Don't optimize away empty tasks
if they have any depend clauses.
* testsuite/libgomp.c/pr80394.c: New test.
Added:
trunk/libgomp/testsuite/libgomp.c/pr80394.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list