nvptx mkoffload: Initialize GCC diagnostic machinery before using it.
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 11 Feb 2015 14:15:47 +0000 (15:15 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 11 Feb 2015 14:15:47 +0000 (15:15 +0100)
commitce888a99a964f06c912b90dd75a55b79f93c86cd
tree976b7a384b4672a31b74146e5f02fb4553031be1
parent9584e638ca38d3748068871cfc3ae3454021ebe2
nvptx mkoffload: Initialize GCC diagnostic machinery before using it.

gcc/
* config/nvptx/mkoffload.c: Include "diagnostic.h" instead of
"diagnostic-core.h".
(main): Initialize progname, and call diagnostic_initialize.

From-SVN: r220621
gcc/ChangeLog
gcc/config/nvptx/mkoffload.c