aboutsummaryrefslogtreecommitdiff
path: root/gcc/plugin.c
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2011-01-09 12:41:33 +0000
committerIain Sandoe <iains@gcc.gnu.org>2011-01-09 12:41:33 +0000
commit0c5d770e3b46be27a9ba00351fdadc75ff97f10e (patch)
treebec947dc3d9b40739c6aa9483adc0bc42e052059 /gcc/plugin.c
parentb52956be02218c3fda87f05f821e971879df83e5 (diff)
downloadgcc-0c5d770e3b46be27a9ba00351fdadc75ff97f10e.zip
gcc-0c5d770e3b46be27a9ba00351fdadc75ff97f10e.tar.gz
gcc-0c5d770e3b46be27a9ba00351fdadc75ff97f10e.tar.bz2
re PR c/46902 (gcc.dg/plugin/plugindir*.c gives ICEs on powerpc-apple-darwin9)
PR gcc/46902 PR testsuite/46912 * plugin.c: Move include of dlfcn.h from here... * system.h: ... to here. From-SVN: r168611
Diffstat (limited to 'gcc/plugin.c')
-rw-r--r--gcc/plugin.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/plugin.c b/gcc/plugin.c
index 2179b81..c93daed 100644
--- a/gcc/plugin.c
+++ b/gcc/plugin.c
@@ -22,15 +22,6 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
#include "system.h"
-
-/* If plugin support is not enabled, do not try to execute any code
- that may reference libdl. The generic code is still compiled in to
- avoid including too many conditional compilation paths in the rest
- of the compiler. */
-#ifdef ENABLE_PLUGIN
-#include <dlfcn.h>
-#endif
-
#include "coretypes.h"
#include "diagnostic-core.h"
#include "tree.h"