Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
1f335ea9
Commit
1f335ea9
authored
Dec 14, 2006
by
Matthias Braun
Browse files
warning fixes
parent
c2b42e12
Changes
4
Hide whitespace changes
Inline
Side-by-side
ir/be/arm/arm_emitter.c
View file @
1f335ea9
...
...
@@ -55,6 +55,9 @@ void arm_switch_section(FILE *f, sections sec) {
case
SECTION_DATA
:
fprintf
(
f
,
"
\t
.data
\n
"
);
break
;
default:
assert
(
0
);
}
}
...
...
ir/be/arm/arm_new_nodes.c
View file @
1f335ea9
...
...
@@ -226,10 +226,10 @@ static int arm_dump_node(ir_node *n, FILE *F, dump_reason_t reason) {
if
(
get_arm_value
(
n
))
{
if
(
is_arm_CopyB
(
n
))
{
fprintf
(
F
,
"size = %u
\n
"
,
get_tarval_long
(
get_arm_value
(
n
)));
fprintf
(
F
,
"size = %
l
u
\n
"
,
get_tarval_long
(
get_arm_value
(
n
)));
}
else
{
if
(
mode_is_float
(
get_irn_mode
(
n
)))
{
fprintf
(
F
,
"float value = (%
l
f)
\n
"
,
get_tarval_double
(
get_arm_value
(
n
)));
fprintf
(
F
,
"float value = (%f)
\n
"
,
(
double
)
get_tarval_double
(
get_arm_value
(
n
)));
}
else
if
(
mode_is_int
(
get_irn_mode
(
n
)))
{
long
v
=
get_tarval_long
(
get_arm_value
(
n
));
fprintf
(
F
,
"long value = %ld (0x%08lx)
\n
"
,
v
,
v
);
...
...
@@ -613,7 +613,7 @@ typedef struct _opt_tuple {
ir_op
*
op_shf_right
;
/**< shift operand on right */
}
opt_tuple
;
static
const
opt_tuple
*
opt_ops
[
iro_arm_last
];
//
static const opt_tuple *opt_ops[iro_arm_last];
void
arm_set_optimizers
(
void
)
{
/*
...
...
ir/be/ppc32/ppc32_emitter.c
View file @
1f335ea9
...
...
@@ -319,16 +319,6 @@ const lc_arg_env_t *ppc32_get_arg_env(void) {
return
env
;
}
/*
* Add a number to a prefix. This number will not be used a second time.
*/
static
char
*
get_unique_label
(
char
*
buf
,
size_t
buflen
,
const
char
*
prefix
)
{
static
unsigned
long
id
=
0
;
snprintf
(
buf
,
buflen
,
"%s%lu"
,
prefix
,
++
id
);
return
buf
;
}
/**
* Returns the target label for a control flow node.
*/
...
...
ir/be/ppc32/ppc32_transform_conv.c
View file @
1f335ea9
...
...
@@ -234,6 +234,7 @@ void init_block(void)
* Constant generating code
*/
#if 0
struct tv_ent {
ir_entity *ent;
tarval *tv;
...
...
@@ -293,6 +294,7 @@ static ir_node *gen_fp_known_symconst(ppc32_transform_env_t *env, tarval *known_
return new_rd_SymConst_addr_ent(env->dbg, env->irg, ent, tp);
}
#endif
/**
* Transforms a Const
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment