This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[MELT] issue with the garbage collector
- From: <piervit at pvittet dot com>
- To: <gcc at gcc dot gnu dot org>, <gcc-melt-french at googlegroups dot com>
- Date: Wed, 16 Mar 2011 10:56:32 +0100
- Subject: [MELT] issue with the garbage collector
Hello,
I guess I have found a bug about related to the garbage collector in
MELT:
I am using the version 170521.
When I run a trivial plugin (let say a plugin that do nothing) on this
c file :
int functionOne(){
return 1;
}
int functionTwo(){
return 1;
}
int functionThree(){
return 1;
}
It works correctly and finish with this message:
!@melt-runtime.c:9205:
@! melt_finalize with 15 GarbColl, 0 fullGc
Now if you just add a new function:
int functionOne(){
return 1;
}
int functionTwo(){
return 1;
}
int functionThree(){
return 1;
}
int functionFour(){
return 1;
}
It will finish like that (full debug in attached file):
!@melt-runtime.c:11120:
@! gimple_execute passname melt_test_ptr after apply dbgcounter 206
!@melt-runtime.c:1196:
@! melt_garbcoll #16 fullgarbcoll #1
!@melt-runtime.c:1199:
@! melt_garbcoll forcing fullgarbcoll #1
!@melt-runtime.c:1202:
@! melt_garbcoll forced fullgarbcoll #1
!@melt-runtime.c:11134:
@! meltgc_gimple_execute pass melt_test_ptr ended res=0d
*** WARNING *** there are active plugins, do not report this as a bug
unless you can reproduce it without enabling any plugins.
Event | Plugins
PLUGIN_FINISH_UNIT | MELT/_builtin
PLUGIN_FINISH | MELT/_builtin
PLUGIN_GGC_MARKING | MELT/_builtin
PLUGIN_ATTRIBUTES | MELT/_builtin
PLUGIN_START_UNIT | MELT/_builtin
test_ptr_cfile2.c:14:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [test_ptr] Error 1
Attachment:
debug.txt
Description: Text document