diff options
author | Martin Liska <mliska@suse.cz> | 2021-11-29 14:46:47 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-12-07 14:37:02 +0100 |
commit | 8e836af61b7027c0819da62c12a8d18b7c46f3fc (patch) | |
tree | b6976486e39e428ba0e7b2a261fddd3cadbdcbc1 /gcc/config/s390 | |
parent | 3a2257e6b3fa288d6c50831987949b9ff7dfb865 (diff) | |
download | gcc-8e836af61b7027c0819da62c12a8d18b7c46f3fc.zip gcc-8e836af61b7027c0819da62c12a8d18b7c46f3fc.tar.gz gcc-8e836af61b7027c0819da62c12a8d18b7c46f3fc.tar.bz2 |
Fix --help -Q output
PR middle-end/103438
gcc/ChangeLog:
* config/s390/s390.c (s390_valid_target_attribute_inner_p):
Use new enum CLVC_INTEGER.
* opt-functions.awk: Use new CLVC_INTEGER.
* opts-common.c (set_option): Likewise.
(option_enabled): Return -1,0,1 for CLVC_INTEGER.
(get_option_state): Use new CLVC_INTEGER.
(control_warning_option): Likewise.
* opts.h (enum cl_var_type): Likewise.
Diffstat (limited to 'gcc/config/s390')
-rw-r--r-- | gcc/config/s390/s390.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 510e7f5..3a22f78 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -15926,7 +15926,7 @@ s390_valid_target_attribute_inner_p (tree args, new_opts_set->x_target_flags |= mask; } - else if (cl_options[opt].var_type == CLVC_BOOLEAN) + else if (cl_options[opt].var_type == CLVC_INTEGER) { int value; |