projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix a few warnings reported by cparser
[cparser]
/
driver
/
firm_opt.c
diff --git
a/driver/firm_opt.c
b/driver/firm_opt.c
index
053960d
..
5d78a86
100644
(file)
--- a/
driver/firm_opt.c
+++ b/
driver/firm_opt.c
@@
-69,7
+69,7
@@
struct a_firm_be_opt {
};
/* optimization settings */
};
/* optimization settings */
-struct a_firm_opt firm_opt = {
+st
atic st
ruct a_firm_opt firm_opt = {
.const_folding = true,
.cse = true,
.confirm = true,
.const_folding = true,
.cse = true,
.confirm = true,
@@
-88,7
+88,7
@@
struct a_firm_opt firm_opt = {
};
/* dumping options */
};
/* dumping options */
-struct a_firm_dump firm_dump = {
+st
atic st
ruct a_firm_dump firm_dump = {
.debug_print = false,
.all_types = false,
.no_blocks = false,
.debug_print = false,
.all_types = false,
.no_blocks = false,
@@
-412,7
+412,7
@@
static opt_config_t opts[] = {
#undef IRG
};
static const int n_opts = sizeof(opts) / sizeof(opts[0]);
#undef IRG
};
static const int n_opts = sizeof(opts) / sizeof(opts[0]);
-ir_timer_t *timers[sizeof(opts)/sizeof(opts[0])];
+
static
ir_timer_t *timers[sizeof(opts)/sizeof(opts[0])];
static opt_config_t *get_opt(const char *name)
{
static opt_config_t *get_opt(const char *name)
{