aboutsummaryrefslogtreecommitdiff
path: root/gcc/opt-functions.awk
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/opt-functions.awk
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/opt-functions.awk')
-rw-r--r--gcc/opt-functions.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opt-functions.awk b/gcc/opt-functions.awk
index 9bc8560..ffe4eb9 100644
--- a/gcc/opt-functions.awk
+++ b/gcc/opt-functions.awk
@@ -303,7 +303,7 @@ function var_set(flags)
return "0, CLVC_STRING, 0"
if (flag_set_p("ByteSize", flags))
return "0, CLVC_SIZE, 0"
- return "0, CLVC_BOOLEAN, 0"
+ return "0, CLVC_INTEGER, 0"
}
# Given that an option called NAME has flags FLAGS, return an initializer