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
8993beff
Commit
8993beff
authored
Sep 06, 2010
by
Matthias Braun
Browse files
sparc: fix abort when matching addressmode Adds
[r27969]
parent
3f57d89f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/sparc_transform.c
View file @
8993beff
...
...
@@ -413,7 +413,7 @@ static ir_node *gen_Add(ir_node *node)
ir_node
*
left
=
get_Add_left
(
node
);
/* is this simple address arithmetic? then we can let the linker do
* the calculation. */
if
(
is_SymConst
(
left
))
{
if
(
is_SymConst
(
left
)
&&
get_irn_n_edges
(
left
)
==
1
)
{
dbg_info
*
dbgi
=
get_irn_dbg_info
(
node
);
ir_node
*
block
=
be_transform_node
(
get_nodes_block
(
node
));
address_t
address
;
...
...
Write
Preview
Markdown
is supported
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