[Bug target/67484] options-save.c sanitizer asan detects freed storage referenced heap-use-after-free

uros at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 14 13:22:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67484

--- Comment #12 from uros at gcc dot gnu.org ---
Author: uros
Date: Mon Dec 14 13:21:43 2015
New Revision: 231614

URL: https://gcc.gnu.org/viewcvs?rev=231614&root=gcc&view=rev
Log:
        Backport from mainline
        2015-12-11  Martin Liska  <mliska@suse.cz>
                    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.


Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/i386/i386.c


More information about the Gcc-bugs mailing list