This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[committed] Fix decl_plugin.c testcase
- From: Jakub Jelinek <jakub at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 18 Aug 2011 16:12:16 +0200
- Subject: [committed] Fix decl_plugin.c testcase
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
I'm getting
UNRESOLVED: decl_plugin.c compilation, -I. -I/usr/src/gcc/gcc/testsuite -I/usr/src/gcc/gcc/testsuite/../../gcc -I/usr/src/gcc/obj773/gcc/testsuite/g++/../../../gcc -I/usr/src/gcc/gcc/testsuite/../../include -I/usr/src/gcc/gcc/testsuite/../../libcpp/include -I/usr/src/gcc/obj773/gcc/testsuite/g++/../../../intl -DIN_GCC -fPIC -shared
on the recently added decl_plugin.c testcase, because there is no prototype
for warning. Fixed thusly, committed as obvious to trunk after testing on
x86_64-linux.
2011-08-18 Jakub Jelinek <jakub@redhat.com>
* g++.dg/plugin/decl_plugin.c: Include diagnostic.h.
--- gcc/testsuite/g++.dg/plugin/decl_plugin.c.jj 2011-08-18 10:05:35.000000000 +0200
+++ gcc/testsuite/g++.dg/plugin/decl_plugin.c 2011-08-18 15:53:50.249421561 +0200
@@ -8,6 +8,7 @@
#include "tree.h"
#include "tree-pass.h"
#include "intl.h"
+#include "diagnostic.h"
int plugin_is_GPL_compatible;
Jakub