PR 43574
* opt-functions.awk (var_type_struct): Use signed char type
for simple variables.
From-SVN: r157859
+2010-03-31 Jie Zhang <jie@codesourcery.com>
+
+ PR 43574
+ * opt-functions.awk (var_type_struct): Use signed char type
+ for simple variables.
+
2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* config/sol2.c: Include output.h.
}
# 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)
{
if (flag_set_p(".*Mask.*", flags))
return "int "
else
- return "unsigned char "
+ return "signed char "
}
else
return "const char *"