re PR target/67484 (options-save.c sanitizer asan detects freed storage referenced...
authorMartin Liska <mliska@suse.cz>
Fri, 11 Dec 2015 10:59:29 +0000 (11:59 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Fri, 11 Dec 2015 10:59:29 +0000 (10:59 +0000)
commit11b9b5a445074aaef7a8b8961dcfb62f79168777
treec0bda674661a5edf5e061a135eba1ef5c6f68292
parent9276b0f797b13924a5bc05d150cdb12efec515d6
re PR target/67484 (options-save.c sanitizer asan detects freed storage referenced  heap-use-after-free)

Fix PR target/67484

    Uros Bizjak  <ubizjak@gmail.com>

PR target/67484
* config/i386/i386.c (ix86_valid_target_attribute_tree):
Use ggc_strdup to copy option_strings to opts->x_ix86_arch_string and
opts->x_ix86_tune_string.

From-SVN: r231556
gcc/ChangeLog
gcc/config/i386/i386.c