diff options
author | Martin Liska <mliska@suse.cz> | 2017-10-11 14:31:59 +0200 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-10-11 12:31:59 +0000 |
commit | 3a266bcd811d8fdf3e9ad9134c40324aafa1bac9 (patch) | |
tree | 7723ddb415344c6081b7f90a395dec5c0f867a3e /gcc/opts.h | |
parent | 050dcb6ad8de794e46d5eb377083fb8b9acf642e (diff) | |
download | gcc-3a266bcd811d8fdf3e9ad9134c40324aafa1bac9.zip gcc-3a266bcd811d8fdf3e9ad9134c40324aafa1bac9.tar.gz gcc-3a266bcd811d8fdf3e9ad9134c40324aafa1bac9.tar.bz2 |
Do not error for no_sanitize attributes (PR sanitizer/82490).
2017-10-11 Martin Liska <mliska@suse.cz>
PR sanitizer/82490
* opts.c (parse_no_sanitize_attribute): Do not use error_value
variable.
* opts.h (parse_no_sanitize_attribute): Remove last argument.
2017-10-11 Martin Liska <mliska@suse.cz>
PR sanitizer/82490
* c-attribs.c (handle_no_sanitize_attribute): Report directly
Wattributes warning.
2017-10-11 Martin Liska <mliska@suse.cz>
PR sanitizer/82490
* c-c++-common/ubsan/attrib-5.c: New test.
From-SVN: r253640
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -390,7 +390,7 @@ extern void handle_common_deferred_options (void); unsigned int parse_sanitizer_options (const char *, location_t, int, unsigned int, int, bool); -unsigned int parse_no_sanitize_attribute (char *value, char **wrong_argument); +unsigned int parse_no_sanitize_attribute (char *value); extern bool common_handle_option (struct gcc_options *opts, struct gcc_options *opts_set, const struct cl_decoded_option *decoded, |