Hi, The attached patch fixes a couple of missing variable initializations.
Committed to gomp-4_0-branch. Jim
diff --git a/libgomp/target.c b/libgomp/target.c index 16283ad..0470d3b 100644 --- a/libgomp/target.c +++ b/libgomp/target.c @@ -1130,7 +1130,7 @@ gomp_load_plugin_for_device (struct gomp_device_descr *device, const char *plugin_name) { const char *err = NULL, *last_missing = NULL; - int optional_present, optional_total; + int optional_present = 0, optional_total = 0; /* Clear any existing error. */ dlerror ();