diff options
author | jiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-31 09:57:03 +0000 |
---|---|---|
committer | jiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-31 09:57:03 +0000 |
commit | 9d2a6747ebb16e011ce1ac87e80cc4bcaccb67cb (patch) | |
tree | c6603407630c8339e8a56e0f1dd13d45086e4650 /gcc/opt-functions.awk | |
parent | 84d20ec8747637a6a274510be53b43e3d258afda (diff) | |
download | gcc-9d2a6747ebb16e011ce1ac87e80cc4bcaccb67cb.tar.gz |
PR 43574
* opt-functions.awk (var_type_struct): Use signed char type
for simple variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157859 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opt-functions.awk')
-rw-r--r-- | gcc/opt-functions.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/opt-functions.awk b/gcc/opt-functions.awk index 98414dae9a9..918fc6c5142 100644 --- a/gcc/opt-functions.awk +++ b/gcc/opt-functions.awk @@ -136,7 +136,7 @@ function var_type(flags) } # Return the type of variable that should be associated with the given flags -# for use within a structure. Simple variables are changed to unsigned char +# for use within a structure. Simple variables are changed to signed char # type instead of int to save space. function var_type_struct(flags) { @@ -146,7 +146,7 @@ function var_type_struct(flags) if (flag_set_p(".*Mask.*", flags)) return "int " else - return "unsigned char " + return "signed char " } else return "const char *" |