diff options
author | David Edelsohn <edelsohn@gnu.org> | 2005-05-07 19:03:22 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2005-05-07 15:03:22 -0400 |
commit | c1630cc5dc135d34a91cf62fc7ee57fb68295556 (patch) | |
tree | 0ac8413e569a5a140e410d4725dbc58f09b769b4 | |
parent | 432218ba764d1ffd79c1f946acdabec1af72c080 (diff) | |
download | gcc-c1630cc5dc135d34a91cf62fc7ee57fb68295556.zip gcc-c1630cc5dc135d34a91cf62fc7ee57fb68295556.tar.gz gcc-c1630cc5dc135d34a91cf62fc7ee57fb68295556.tar.bz2 |
opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask if variable name exists.
* opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask
if variable name exists.
From-SVN: r99357
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/opt-functions.awk | 9 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e440de06..5537d7f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -17,6 +17,9 @@ (popcntb<mode>2): New. * config/rs6000/rs6000.opt (mpopcntb): New. + * opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask + if variable name exists. + 2005-05-07 Matt Kraai <kraai@ftbfs.org> * Makefile.in (c-gimplify.o): Depend on $(RTL_H) instead of rtl.h. diff --git a/gcc/opt-functions.awk b/gcc/opt-functions.awk index 4d9c74f7..9dc9640 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" } |