* [PATCH] PR testsuite/42843: add missing includes of diagnostic.h
@ 2010-07-14 20:38 Jack Howarth
2010-07-15 7:27 ` Richard Guenther
0 siblings, 1 reply; 3+ messages in thread
From: Jack Howarth @ 2010-07-14 20:38 UTC (permalink / raw)
To: gcc-patches; +Cc: amylaar
This patch adds the missing include of diagnostic.h for
those testcases that require warning() to be defined.
Bootstrapped and regression tested with --enable-build-with-cxx
on x86_64-apple-darwin10. Okay for gcc trunk?
Jack
2010-07-14 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/42843
* gcc.dg/plugin/selfassign.c: Include diagnostic.h.
* gcc.dg/plugin/ggcplug.c: Likewise.
* g++.dg/plugin/selfassign.c: Likewise.
* g++.dg/plugin/attribute_plugin.c: Likewise.
* g++.dg/plugin/dumb_plugin.c: Likewise.
* g++.dg/plugin/pragma_plugin.c: Likewise.
Index: gcc/testsuite/gcc.dg/plugin/selfassign.c
===================================================================
--- gcc/testsuite/gcc.dg/plugin/selfassign.c (revision 162051)
+++ gcc/testsuite/gcc.dg/plugin/selfassign.c (working copy)
@@ -14,6 +14,7 @@
#include "tree-pass.h"
#include "intl.h"
#include "plugin-version.h"
+#include "diagnostic.h"
int plugin_is_GPL_compatible;
Index: gcc/testsuite/gcc.dg/plugin/ggcplug.c
===================================================================
--- gcc/testsuite/gcc.dg/plugin/ggcplug.c (revision 162051)
+++ gcc/testsuite/gcc.dg/plugin/ggcplug.c (working copy)
@@ -13,6 +13,7 @@
#include "intl.h"
#include "gcc-plugin.h"
#include "plugin-version.h"
+#include "diagnostic.h"
int plugin_is_GPL_compatible;
Index: gcc/testsuite/g++.dg/plugin/selfassign.c
===================================================================
--- gcc/testsuite/g++.dg/plugin/selfassign.c (revision 162051)
+++ gcc/testsuite/g++.dg/plugin/selfassign.c (working copy)
@@ -14,6 +14,7 @@
#include "tree-pass.h"
#include "intl.h"
#include "plugin-version.h"
+#include "diagnostic.h"
int plugin_is_GPL_compatible;
Index: gcc/testsuite/g++.dg/plugin/attribute_plugin.c
===================================================================
--- gcc/testsuite/g++.dg/plugin/attribute_plugin.c (revision 162051)
+++ gcc/testsuite/g++.dg/plugin/attribute_plugin.c (working copy)
@@ -10,6 +10,7 @@
#include "intl.h"
#include "toplev.h"
#include "plugin.h"
+#include "diagnostic.h"
int plugin_is_GPL_compatible;
Index: gcc/testsuite/g++.dg/plugin/dumb_plugin.c
===================================================================
--- gcc/testsuite/g++.dg/plugin/dumb_plugin.c (revision 162051)
+++ gcc/testsuite/g++.dg/plugin/dumb_plugin.c (working copy)
@@ -10,6 +10,7 @@
#include "tree-pass.h"
#include "intl.h"
#include "toplev.h"
+#include "diagnostic.h"
int plugin_is_GPL_compatible;
Index: gcc/testsuite/g++.dg/plugin/pragma_plugin.c
===================================================================
--- gcc/testsuite/g++.dg/plugin/pragma_plugin.c (revision 162051)
+++ gcc/testsuite/g++.dg/plugin/pragma_plugin.c (working copy)
@@ -14,6 +14,7 @@
#include "tree-pass.h"
#include "intl.h"
#include "toplev.h"
+#include "diagnostic.h"
int plugin_is_GPL_compatible;
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] PR testsuite/42843: add missing includes of diagnostic.h
2010-07-14 20:38 [PATCH] PR testsuite/42843: add missing includes of diagnostic.h Jack Howarth
@ 2010-07-15 7:27 ` Richard Guenther
2010-07-16 8:40 ` IainS
0 siblings, 1 reply; 3+ messages in thread
From: Richard Guenther @ 2010-07-15 7:27 UTC (permalink / raw)
To: Jack Howarth; +Cc: gcc-patches, amylaar
On Wed, Jul 14, 2010 at 10:38 PM, Jack Howarth <howarth@bromo.med.uc.edu> wrote:
> This patch adds the missing include of diagnostic.h for
> those testcases that require warning() to be defined.
> Bootstrapped and regression tested with --enable-build-with-cxx
> on x86_64-apple-darwin10. Okay for gcc trunk?
Ok.
Thanks,
Richard.
> Jack
>
> 2010-07-14 Jack Howarth <howarth@bromo.med.uc.edu>
>
> PR testsuite/42843
> * gcc.dg/plugin/selfassign.c: Include diagnostic.h.
> * gcc.dg/plugin/ggcplug.c: Likewise.
> * g++.dg/plugin/selfassign.c: Likewise.
> * g++.dg/plugin/attribute_plugin.c: Likewise.
> * g++.dg/plugin/dumb_plugin.c: Likewise.
> * g++.dg/plugin/pragma_plugin.c: Likewise.
>
> Index: gcc/testsuite/gcc.dg/plugin/selfassign.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/plugin/selfassign.c (revision 162051)
> +++ gcc/testsuite/gcc.dg/plugin/selfassign.c (working copy)
> @@ -14,6 +14,7 @@
> #include "tree-pass.h"
> #include "intl.h"
> #include "plugin-version.h"
> +#include "diagnostic.h"
>
> int plugin_is_GPL_compatible;
>
> Index: gcc/testsuite/gcc.dg/plugin/ggcplug.c
> ===================================================================
> --- gcc/testsuite/gcc.dg/plugin/ggcplug.c (revision 162051)
> +++ gcc/testsuite/gcc.dg/plugin/ggcplug.c (working copy)
> @@ -13,6 +13,7 @@
> #include "intl.h"
> #include "gcc-plugin.h"
> #include "plugin-version.h"
> +#include "diagnostic.h"
>
> int plugin_is_GPL_compatible;
>
> Index: gcc/testsuite/g++.dg/plugin/selfassign.c
> ===================================================================
> --- gcc/testsuite/g++.dg/plugin/selfassign.c (revision 162051)
> +++ gcc/testsuite/g++.dg/plugin/selfassign.c (working copy)
> @@ -14,6 +14,7 @@
> #include "tree-pass.h"
> #include "intl.h"
> #include "plugin-version.h"
> +#include "diagnostic.h"
>
> int plugin_is_GPL_compatible;
>
> Index: gcc/testsuite/g++.dg/plugin/attribute_plugin.c
> ===================================================================
> --- gcc/testsuite/g++.dg/plugin/attribute_plugin.c (revision 162051)
> +++ gcc/testsuite/g++.dg/plugin/attribute_plugin.c (working copy)
> @@ -10,6 +10,7 @@
> #include "intl.h"
> #include "toplev.h"
> #include "plugin.h"
> +#include "diagnostic.h"
>
> int plugin_is_GPL_compatible;
>
> Index: gcc/testsuite/g++.dg/plugin/dumb_plugin.c
> ===================================================================
> --- gcc/testsuite/g++.dg/plugin/dumb_plugin.c (revision 162051)
> +++ gcc/testsuite/g++.dg/plugin/dumb_plugin.c (working copy)
> @@ -10,6 +10,7 @@
> #include "tree-pass.h"
> #include "intl.h"
> #include "toplev.h"
> +#include "diagnostic.h"
>
> int plugin_is_GPL_compatible;
>
> Index: gcc/testsuite/g++.dg/plugin/pragma_plugin.c
> ===================================================================
> --- gcc/testsuite/g++.dg/plugin/pragma_plugin.c (revision 162051)
> +++ gcc/testsuite/g++.dg/plugin/pragma_plugin.c (working copy)
> @@ -14,6 +14,7 @@
> #include "tree-pass.h"
> #include "intl.h"
> #include "toplev.h"
> +#include "diagnostic.h"
>
> int plugin_is_GPL_compatible;
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] PR testsuite/42843: add missing includes of diagnostic.h
2010-07-15 7:27 ` Richard Guenther
@ 2010-07-16 8:40 ` IainS
0 siblings, 0 replies; 3+ messages in thread
From: IainS @ 2010-07-16 8:40 UTC (permalink / raw)
To: Richard Guenther; +Cc: Jack Howarth, gcc-patches, amylaar
On 15 Jul 2010, at 08:27, Richard Guenther wrote:
> On Wed, Jul 14, 2010 at 10:38 PM, Jack Howarth <howarth@bromo.med.uc.edu
> > wrote:
>> This patch adds the missing include of diagnostic.h for
>> those testcases that require warning() to be defined.
>> Bootstrapped and regression tested with --enable-build-with-cxx
>> on x86_64-apple-darwin10. Okay for gcc trunk?
>
> Ok.
>> 2010-07-14 Jack Howarth <howarth@bromo.med.uc.edu>
>>
>> PR testsuite/42843
>> * gcc.dg/plugin/selfassign.c: Include diagnostic.h.
>> * gcc.dg/plugin/ggcplug.c: Likewise.
>> * g++.dg/plugin/selfassign.c: Likewise.
>> * g++.dg/plugin/attribute_plugin.c: Likewise.
>> * g++.dg/plugin/dumb_plugin.c: Likewise.
>> * g++.dg/plugin/pragma_plugin.c: Likewise.
done, r162254
Iain
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-07-16 8:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-14 20:38 [PATCH] PR testsuite/42843: add missing includes of diagnostic.h Jack Howarth
2010-07-15 7:27 ` Richard Guenther
2010-07-16 8:40 ` IainS
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).