fix memory leak in optimize pragma parsing
authorRichard Biener <rguenther@suse.de>
Wed, 10 Feb 2021 10:28:30 +0000 (11:28 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 10 Feb 2021 13:51:58 +0000 (14:51 +0100)
commite4985357e5aea698cbb5620fbfccc995363c7764
tree9dcb5cb68c36451d55af1f40db7dc203bb09c363
parentf8fac476b5ce4b9a37ea2b257d9da810f8c507be
fix memory leak in optimize pragma parsing

The optimize pragma/attribute parsing calls decode_cmdline_options_to_array
but doesn't free the array.  The following fixes that.

2021-02-10  Richard Biener  <rguenther@suse.de>

gcc/c-family/
* c-common.c (parse_optimize_options): Free decoded_options.
gcc/c-family/c-common.c