PR jit/63854: Fix leak of worklist within jit-recording.c
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 19 Nov 2014 20:10:00 +0000 (20:10 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 19 Nov 2014 20:10:00 +0000 (20:10 +0000)
commit79cafc7ae4c3c2f96fd72907c6b0a66d07cf7e1a
treeccc71fd96df28de2a71dee191db24b4c532c1459
parentb705fe729a1752449d7976ded2a01186862a03d0
PR jit/63854: Fix leak of worklist within jit-recording.c

gcc/jit/ChangeLog:
PR jit/63854
* jit-recording.c (recording::function::validate): Convert
"worklist" from vec<> to autovec<> to fix a leak.

From-SVN: r217802
gcc/jit/ChangeLog
gcc/jit/jit-recording.c