[RFC] Fix PR 43574

Jie Zhang jie@codesourcery.com
Tue Mar 30 09:30:00 GMT 2010


flag_var_tracking and flag_var_tracking_assignments can have negative 
values. But the generated options.c asserts that their values must be in 
range [0, 255]. This patch adds a new option property "Signed". So 
options like flag_var_tracking and flag_var_tracking_assignments can use 
this new property to specify that they can take negative value. "signed 
char" instead of "unsigned char" will be used as the type for such 
options and their values will be checked in range between [-128, 127]. 
No regressions are found on x86_64 with this patch. Is it OK?


-- 
Jie Zhang
CodeSourcery
(650) 331-3385 x735
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-fix-pr43574.diff
Type: text/x-patch
Size: 2731 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100330/eb5f212e/attachment.bin>


More information about the Gcc-patches mailing list