gcc/
* config/nvptx/mkoffload.c: Include "diagnostic.h" instead of
"diagnostic-core.h".
(main): Initialize progname, and call diagnostic_initialize.
From-SVN: r220621
2015-02-11 Thomas Schwinge <thomas@codesourcery.com>
+ * config/nvptx/mkoffload.c: Include "diagnostic.h" instead of
+ "diagnostic-core.h".
+ (main): Initialize progname, and call diagnostic_initialize.
+
* config/nvptx/mkoffload.c (process): Refer to __OFFLOAD_TABLE__
instead of __OPENMP_TARGET__.
#include "intl.h"
#include <libgen.h>
#include "obstack.h"
-#include "diagnostic-core.h"
+#include "diagnostic.h"
#include "collect-utils.h"
#include "gomp-constants.h"
FILE *out = stdout;
const char *outname = 0;
+ progname = "mkoffload";
+ diagnostic_initialize (global_dc, 0);
+
char *collect_gcc = getenv ("COLLECT_GCC");
if (collect_gcc == NULL)
fatal_error (input_location, "COLLECT_GCC must be set.");