/* lower = */ TRUE,
/* os_support = */ OS_SUPPORT_LINUX,
/* honor_restrict = */ TRUE,
+ /* lower_bitfields = */ TRUE,
/* ycomp_dbg = */ FALSE,
/* ycomp_host = */ FIRM_YCOMP_DEFAULT_HOST,
/* ycomp_port = */ FIRM_YCOMP_DEFAULT_PORT,
const char *option; /**< name of the option */
int opt_len; /**< length of the option string */
a_byte *flag; /**< address of variable to set/reset */
- int set; /**< iff true, variable will be set, else reset */
+ a_byte set; /**< iff true, variable will be set, else reset */
const char *description; /**< description of this option */
} firm_options[] = {
/* this must be first */
}
/* statistic options do accumulate */
if (firm_options[i].flag == &firm_dump.statistic)
- *firm_options[i].flag |= firm_options[i].set;
+ *firm_options[i].flag = (a_byte) (*firm_options[i].flag | firm_options[i].set);
else
*firm_options[i].flag = firm_options[i].set;
firm_get_version(&version);
- fprintf(f, "Firm C-Compiler using libFirm (%d.%d", version.major, version.minor);
+ fprintf(f, "Firm C-Compiler using libFirm (%u.%u", version.major, version.minor);
if(version.revision[0] != 0) {
fputc(' ', f);
fputs(version.revision, f);