PR jit/63854: Fix memory leak within gcc_options
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 19 Nov 2014 19:08:29 +0000 (19:08 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 19 Nov 2014 19:08:29 +0000 (19:08 +0000)
commit0ef443cf01de9153f66d9327784c6137d387dade
tree3e05b6e27cfe2411e105ee9403deb3eeafd30ef0
parent3bdf0a9ba51c25ab13d5f37e311d77c12aca55ae
PR jit/63854: Fix memory leak within gcc_options

gcc/ChangeLog:
PR jit/63854
* opts.c (finalize_options_struct): New.
* opts.h (finalize_options_struct): New.
* toplev.c (toplev::finalize): Call finalize_options_struct
on global_options and global_options_set.

From-SVN: r217791
gcc/ChangeLog
gcc/opts.c
gcc/opts.h
gcc/toplev.c