[PATCH] Fix C++ plugin testsuite fail

Richard Guenther rguenther@suse.de
Wed Jun 2 14:34:00 GMT 2010


Committed as obvious.

Richard.

2010-06-02  Richard Guenther  <rguenther@suse.de>

	* g++.dg/plugin/header_plugin.c: Include cp-tree.h before
	diagnostic.h.

Index: gcc/testsuite/g++.dg/plugin/header_plugin.c
===================================================================
*** gcc/testsuite/g++.dg/plugin/header_plugin.c	(revision 160153)
--- gcc/testsuite/g++.dg/plugin/header_plugin.c	(working copy)
***************
*** 11,16 ****
--- 11,17 ----
  #include "tm.h"
  
  /* gcc/ headers. */
+ #include "cp/cp-tree.h"
  #include "diagnostic.h"
  #include "c-common.h"
  #include "c-pretty-print.h"
***************
*** 18,24 ****
  #include "plugin.h"
  #include "tree-flow.h"
  #include "langhooks.h"
- #include "cp/cp-tree.h"
  #include "cp/cxx-pretty-print.h"
  #include "cp/name-lookup.h"
  
--- 19,24 ----



More information about the Gcc-patches mailing list