http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55358



Markus Trippelsdorf <markus at trippelsdorf dot de> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |markus at trippelsdorf dot

                   |                            |de



--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 
2012-11-21 15:30:35 UTC ---

The last error is reproducible with e.g.:



 % /var/tmp/gcc_valgrind/usr/local/bin/gcc -w -O2 -c

/home/markus/gcc/libiberty/cp-demangle.c

==6842== Invalid read of size 4

==6842==    at 0xD20A91: rest_of_handle_ree() (ree.c:615)

==6842==    by 0x826B2A: execute_one_pass(opt_pass*) (passes.c:2327)

==6842==    by 0x826FA4: execute_pass_list(opt_pass*) (passes.c:2387)

==6842==    by 0x826FB6: execute_pass_list(opt_pass*) (passes.c:2388)

==6842==    by 0x826FB6: execute_pass_list(opt_pass*) (passes.c:2388)

==6842==    by 0x5EC801: expand_function(cgraph_node*) (cgraphunit.c:1641)

==6842==    by 0x5EE5C6: compile() (cgraphunit.c:1745)

==6842==    by 0x5EEC69: finalize_compilation_unit() (cgraphunit.c:2120)

==6842==    by 0x4D52EB: c_write_global_declarations() (c-decl.c:10120)

==6842==    by 0x8C845C: compile_file() (toplev.c:559)

==6842==    by 0x8CA319: toplev_main(int, char**) (toplev.c:1881)

==6842==    by 0x4ECD894: (below main) (libc-start.c:258)

==6842==  Address 0x5b37f51 is 2,577 bytes inside a block of size 2,580 alloc'd

==6842==    at 0x4026BA4: calloc (in

/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)

==6842==    by 0xDFABD8: xcalloc (xmalloc.c:162)

==6842==    by 0xD211C6: rest_of_handle_ree() (ree.c:884)

==6842==    by 0x826B2A: execute_one_pass(opt_pass*) (passes.c:2327)

...

Reply via email to