------- Comment #2 from amylaar at gcc dot gnu dot org 2010-01-30 05:20 ------- Subject: Bug 42843
Author: amylaar Date: Sat Jan 30 05:20:40 2010 New Revision: 156380 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156380 Log: gcc: PR testsuite/42843 * Makefile.in (HOST_PLUGIN_CC): Define. (site.exp): Set HOST_PLUGIN_CC. gcc/testsuite: PR testsuite/42843 * lib/plugin-support.exp: Use $HOST_PLUGIN_CC. * gcc.dg/plugin/selfassign.c (pass_warn_self_assign): Use enumerator TV_NONE to initialize tv_id field. * g++.dg/plugin/selfassign.c (pass_warn_self_assign): Likewise. * gcc.dg/plugin/one_time_plugin.c (one_pass): Likewise. * g++.dg/plugin/dumb_plugin.c (pass_dumb_plugin_example): Likewise. Include toplev.h . * gcc.dg/plugin/finish_unit_plugin.c: Include cgraph.h. * g++.dg/plugin/attribute_plugin.c: Include toplev.h and plugin.h . * g++.dg/plugin/pragma_plugin.c: Include toplev.h . Modified: branches/milepost-20100130-branch/gcc/ChangeLog branches/milepost-20100130-branch/gcc/Makefile.in branches/milepost-20100130-branch/gcc/testsuite/ChangeLog branches/milepost-20100130-branch/gcc/testsuite/g++.dg/plugin/attribute_plugin.c branches/milepost-20100130-branch/gcc/testsuite/g++.dg/plugin/dumb_plugin.c branches/milepost-20100130-branch/gcc/testsuite/g++.dg/plugin/pragma_plugin.c branches/milepost-20100130-branch/gcc/testsuite/g++.dg/plugin/selfassign.c branches/milepost-20100130-branch/gcc/testsuite/gcc.dg/plugin/finish_unit_plugin.c branches/milepost-20100130-branch/gcc/testsuite/gcc.dg/plugin/one_time_plugin.c branches/milepost-20100130-branch/gcc/testsuite/gcc.dg/plugin/selfassign.c branches/milepost-20100130-branch/gcc/testsuite/lib/plugin-support.exp -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42843