------- Comment #4 from Ralf dot Wildenhues at gmx dot de 2008-01-23 08:23
-------
valgrind output (gcc (GCC) 4.3.0 20080122 (experimental)):
send_tiny.i: In function sendto_realops_lev:
send_tiny.i:77: warning: implicit declaration of function strlen
send_tiny.i:77: warning: incompatible implicit declaration of built-in function
strlen
send_tiny.i:78: warning: implicit declaration of function vsendto_one
--17488-- REDIR: 0x4ccb070 (memmove) redirected to 0x4a1c0f0 (memmove)
==17488== Invalid write of size 8
==17488== at 0x82D8D9: reachable_at_most_once (tree-stdarg.c:101)
==17488== by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488== by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488== by 0x656302: execute_one_pass (passes.c:1118)
==17488== by 0x6564CB: execute_pass_list (passes.c:1171)
==17488== by 0x6564DD: execute_pass_list (passes.c:1172)
==17488== by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488== by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488== by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488== by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488== by 0x6D3F45: toplev_main (toplev.c:1055)
==17488== by 0x4C7549A: (below main) (in /lib/libc-2.3.6.so)
==17488== Address 0x51177b8 is 0 bytes after a block of size 152 alloc'd
==17488== at 0x4A19DAB: malloc (vg_replace_malloc.c:207)
==17488== by 0xB34CA7: xmalloc (xmalloc.c:147)
==17488== by 0x82D73D: reachable_at_most_once (tree-stdarg.c:61)
==17488== by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488== by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488== by 0x656302: execute_one_pass (passes.c:1118)
==17488== by 0x6564CB: execute_pass_list (passes.c:1171)
==17488== by 0x6564DD: execute_pass_list (passes.c:1172)
==17488== by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488== by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488== by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488== by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488==
==17488== Invalid read of size 8
==17488== at 0x82D819: reachable_at_most_once (tree-stdarg.c:76)
==17488== by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488== by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488== by 0x656302: execute_one_pass (passes.c:1118)
==17488== by 0x6564CB: execute_pass_list (passes.c:1171)
==17488== by 0x6564DD: execute_pass_list (passes.c:1172)
==17488== by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488== by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488== by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488== by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488== by 0x6D3F45: toplev_main (toplev.c:1055)
==17488== by 0x4C7549A: (below main) (in /lib/libc-2.3.6.so)
==17488== Address 0x51177c0 is 8 bytes after a block of size 152 alloc'd
==17488== at 0x4A19DAB: malloc (vg_replace_malloc.c:207)
==17488== by 0xB34CA7: xmalloc (xmalloc.c:147)
==17488== by 0x82D73D: reachable_at_most_once (tree-stdarg.c:61)
==17488== by 0x82F530: va_list_ptr_read (tree-stdarg.c:377)
==17488== by 0x8307B5: execute_optimize_stdarg (tree-stdarg.c:823)
==17488== by 0x656302: execute_one_pass (passes.c:1118)
==17488== by 0x6564CB: execute_pass_list (passes.c:1171)
==17488== by 0x6564DD: execute_pass_list (passes.c:1172)
==17488== by 0x734718: tree_rest_of_compilation (tree-optimize.c:404)
==17488== by 0x8F44D1: cgraph_expand_function (cgraphunit.c:1152)
==17488== by 0x8F63F8: cgraph_optimize (cgraphunit.c:1215)
==17488== by 0x4174FC: c_write_global_declarations (c-decl.c:8079)
==17488==
==17488== ERROR SUMMARY: 3 errors from 2 contexts (suppressed: 2 from 1)
--
Ralf dot Wildenhues at gmx dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Ralf dot Wildenhues at gmx
| |dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34934