This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

nvptx priority queues nonsupport in libgomp


This patch adds an empty priority_queues.c in libgomp for nvptx targets.
Nvptx targets don't have sufficient support for a complete libgomp
library, so we're only building a subset of it. And without that empty
file, I was seeing an error message that looked like this:

libgomp/libgomp.h:122:17: fatal error: sem.h: No such file or directory
 #include "sem.h"

I'm still running the entire testsuite, but it doesn't introduce any new
regressions in libgomp.oacc-c. Is this OK for trunk, or am I missing
something?

Cesar
2015-11-17  Cesar Philippidis  <cesar@codesourcery.com>

	libgomp/
	* config/nvptx/priority_queue.c: New empty file.

diff --git a/libgomp/config/nvptx/priority_queue.c b/libgomp/config/nvptx/priority_queue.c
new file mode 100644
index 0000000..e69de29

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]