diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-07 19:03:22 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-07 19:03:22 +0000 |
commit | 383a5f1b201d8dc545a1f20cd1156ee8fd37b3ba (patch) | |
tree | 0ac8413e569a5a140e410d4725dbc58f09b769b4 /gcc/opt-functions.awk | |
parent | a8bb341c9887f37fa6e337c499b1f6638a53680a (diff) | |
download | gcc-383a5f1b201d8dc545a1f20cd1156ee8fd37b3ba.tar.gz |
* opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask
if variable name exists.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99357 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opt-functions.awk')
-rw-r--r-- | gcc/opt-functions.awk | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/opt-functions.awk b/gcc/opt-functions.awk index 4d9c74f73b2..9dc9640d998 100644 --- a/gcc/opt-functions.awk +++ b/gcc/opt-functions.awk @@ -105,8 +105,13 @@ function var_set(flags) return "CLVC_BIT_SET, MASK_" s } s = nth_arg(0, opt_args("InverseMask", flags)); - if (s != "") - return "CLVC_BIT_CLEAR, MASK_" s + if (s != "") { + vn = var_name(flags); + if (vn) + return "CLVC_BIT_CLEAR, OPTION_MASK_" s + else + return "CLVC_BIT_CLEAR, MASK_" s + } return "CLVC_BOOLEAN, 0" } |