From: Gerald Pfeifer Date: Fri, 16 Jan 2015 14:27:55 +0000 (+0000) Subject: * target.c (num_devices): Guard with PLUGIN_SUPPORT. X-Git-Tag: releases/gcc-5.1.0~1673 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=973e980879f3ff4daa479d349a7edce9ac77933c;p=thirdparty%2Fgcc.git * target.c (num_devices): Guard with PLUGIN_SUPPORT. From-SVN: r219742 --- diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 9b003cbb027f..7c106d46ab01 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,7 @@ +2015-01-16 Gerald Pfeifer + + * target.c (num_devices): Guard with PLUGIN_SUPPORT. + 2015-01-15 Thomas Schwinge James Norris Tom de Vries diff --git a/libgomp/target.c b/libgomp/target.c index 83ad51108d01..72d64fcbd9b0 100644 --- a/libgomp/target.c +++ b/libgomp/target.c @@ -63,8 +63,10 @@ static int num_offload_images; /* Array of descriptors for all available devices. */ static struct gomp_device_descr *devices; +#ifdef PLUGIN_SUPPORT /* Total number of available devices. */ static int num_devices; +#endif /* Number of GOMP_OFFLOAD_CAP_OPENMP_400 devices. */ static int num_devices_openmp;