This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: adding GGC events for plugins.


On Tue, May 26, 2009 at 7:34 PM, Basile STARYNKEVITCH
<basile@starynkevitch.net> wrote:
> Hello All
>
> Diego Novillo wrote:
>
> about my patch http://gcc.gnu.org/ml/gcc-patches/2009-05/msg01588.html
>>
>> OK with those changes.
>
>
> Thanks Diego and others for the review and the approval.
> bootstrapped on x86_64-linux-gnu (Debian/Sid/AMD64).
> Committed on the trunk as rev.147878.

       * testsuite/gcc.dg/plugin/plugin.exp: Added ggcplug.c test plugin
        with ggcplug-test-1.c for testing PLUGIN_GGC_MARKING etc...
        * testsuite/gcc.dg/plugin/ggcplug-test-1.c: Added new file.
        * testsuite/gcc.dg/plugin/ggcplug.c: Added new file.

this belongs to testsuite/ChangeLog.  It doesn't build for me:

Executing on build: gcc -g -O2
/space/rguenther/trunk/gcc/testsuite/gcc.dg/plugin/ggcplug.c -I.
-I/space/rguenther/trunk/gcc/testsuite
-I/space/rguenther/trunk/gcc/testsuite/../../gcc
-I/space/rguenther/obj/gcc/testsuite/gcc/../../../gcc
-I/space/rguenther/trunk/gcc/testsuite/../../include
-I/space/rguenther/trunk/gcc/testsuite/../../libcpp/include   -O
-DIN_GCC -fPIC -shared -o ggcplug.so    (timeout = 300)
/space/rguenther/trunk/gcc/testsuite/gcc.dg/plugin/ggcplug.c:39:
error: expected declaration specifiers or '...' before '(' token^M
set_ld_library_path_env_vars:
ld_library_path=:/space/rguenther/obj/gcc:/space/rguenther/obj/gcc/32
UNRESOLVED: ggcplug.c compilation, -I.
-I/space/rguenther/trunk/gcc/testsuite
-I/space/rguenther/trunk/gcc/testsuite/../../gcc
-I/space/rguenther/obj/gcc/testsuite/gcc/../../../gcc
-I/space/rguenther/trunk/gcc/testsuite/../../include
-I/space/rguenther/trunk/gcc/testsuite/../../libcpp/include   -O
-DIN_GCC -fPIC -shared

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]