aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-11-29 14:46:47 +0100
committerMartin Liska <mliska@suse.cz>2021-12-07 14:37:02 +0100
commit8e836af61b7027c0819da62c12a8d18b7c46f3fc (patch)
treeb6976486e39e428ba0e7b2a261fddd3cadbdcbc1 /gcc/opts.h
parent3a2257e6b3fa288d6c50831987949b9ff7dfb865 (diff)
downloadgcc-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/opts.h')
-rw-r--r--gcc/opts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/opts.h b/gcc/opts.h
index f5bc9a3..4c2b77e 100644
--- a/gcc/opts.h
+++ b/gcc/opts.h
@@ -24,8 +24,8 @@ along with GCC; see the file COPYING3. If not see
/* Specifies how a switch's VAR_VALUE relates to its FLAG_VAR. */
enum cl_var_type {
- /* The switch is enabled when FLAG_VAR is nonzero. */
- CLVC_BOOLEAN,
+ /* The switch is an integer value. */
+ CLVC_INTEGER,
/* The switch is enabled when FLAG_VAR == VAR_VALUE. */
CLVC_EQUAL,