[Bug tree-optimization/54345] jump threading leaks e->aux heap memory

rguenther at suse dot de gcc-bugzilla@gcc.gnu.org
Thu Sep 20 11:13:00 GMT 2012


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

--- Comment #2 from rguenther at suse dot de <rguenther at suse dot de> 2012-09-20 11:12:36 UTC ---
On Thu, 20 Sep 2012, polacek at redhat dot com wrote:

> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54345
> 
> Marek Polacek <polacek at redhat dot com> changed:
> 
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |polacek at redhat dot com
> 
> --- Comment #1 from Marek Polacek <polacek at redhat dot com> 2012-09-20 08:16:55 UTC ---
> How can I reproduce this one?  I've built gcc with '--enable-languages=c,c++
> --disable-bootstrap' and '--enable-languages=c,c++ --disable-bootstrap
> --enable-checking=valgrind', but then e.g.
> valgrind --leak-check=full --show-reachable=yes ./cc1
> ~/src/gcc/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-2.c -O2 -fno-tree-vrp
> show nothing like this.  (In that test we certainly run the DOM pass, thus also
> jump-threading.)  Or am I doing something stupid?

It obviously depends on the testcase.  I was using something very large.



More information about the Gcc-bugs mailing list