Re: Small cleanup/memory leak plugs for lto

2012-10-09 Thread Richard Guenther
On Mon, Oct 8, 2012 at 10:05 PM, Tobias Burnus wrote: > Some more issues found by Coverity scanner. > > lto-cgraph.c: The code seems to be unused, besides, it's a zero-trip loop as > parm_num is set to 0 and then checked non nonzeroness. > > lto-opts: The check whether first_p is non NULL is alway

Small cleanup/memory leak plugs for lto

2012-10-08 Thread Tobias Burnus
Some more issues found by Coverity scanner. lto-cgraph.c: The code seems to be unused, besides, it's a zero-trip loop as parm_num is set to 0 and then checked non nonzeroness. lto-opts: The check whether first_p is non NULL is always false: All calls have a variable ref as argument - and firs