Patchwork PATCH: Fix g++.dg/plugin/header_plugin.c and pragma_plugin.c

login
register
mail settings
Submitter H.J. Lu
Date June 13, 2010, 7:53 p.m.
Message ID <20100613195350.GA27295@intel.com>
Download mbox | patch
Permalink /patch/55458/
State New
Headers show

Comments

H.J. Lu - June 13, 2010, 7:53 p.m.
Hi,

I will check in this patch shortly.


H.J.
---
2010-06-13  H.J. Lu  <hongjiu.lu@intel.com>

	* g++.dg/plugin/header_plugin.c: Add "c-family/" to c-common.h
	and c-pretty-print.h.

	* g++.dg/plugin/pragma_plugin.c: Add "c-family/" to c-pragma.h.

Patch

diff --git a/gcc/testsuite/g++.dg/plugin/header_plugin.c b/gcc/testsuite/g++.dg/plugin/header_plugin.c
index 71a0c3b..a464827 100644
--- a/gcc/testsuite/g++.dg/plugin/header_plugin.c
+++ b/gcc/testsuite/g++.dg/plugin/header_plugin.c
@@ -13,8 +13,8 @@ 
 /* gcc/ headers. */
 #include "cp/cp-tree.h"
 #include "diagnostic.h"
-#include "c-common.h"
-#include "c-pretty-print.h"
+#include "c-family/c-common.h"
+#include "c-family/c-pretty-print.h"
 #include "tree-iterator.h"
 #include "plugin.h"
 #include "tree-flow.h"
diff --git a/gcc/testsuite/g++.dg/plugin/pragma_plugin.c b/gcc/testsuite/g++.dg/plugin/pragma_plugin.c
index 241526b..4a9ea47 100644
--- a/gcc/testsuite/g++.dg/plugin/pragma_plugin.c
+++ b/gcc/testsuite/g++.dg/plugin/pragma_plugin.c
@@ -9,7 +9,7 @@ 
 #include "rtl.h"
 #include "tree.h"
 #include "function.h"
-#include "c-pragma.h"
+#include "c-family/c-pragma.h"
 #include "cpplib.h"
 #include "tree-pass.h"
 #include "intl.h"