projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
936d189
)
missing skip_typeref
author
Matthias Braun
<matze@braunis.de>
Tue, 20 Jan 2009 09:48:53 +0000
(09:48 +0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 20 Jan 2009 09:48:53 +0000
(09:48 +0000)
[r25287]
ast2firm.c
patch
|
blob
|
history
diff --git
a/ast2firm.c
b/ast2firm.c
index
c9322a2
..
4b6dedb
100644
(file)
--- a/
ast2firm.c
+++ b/
ast2firm.c
@@
-2562,7
+2562,7
@@
static ir_node *unary_expression_to_firm(const unary_expression_t *expression)
ir_node *value_node = expression_to_firm(value);
if (is_type_scalar(type)) {
ir_mode *mode = get_ir_mode_storage(type);
- type_t *from_type =
value->base.type
;
+ type_t *from_type =
skip_typeref(value->base.type)
;
/* check for conversion from / to __based types */
if (is_type_pointer(type) && is_type_pointer(from_type)) {
const variable_t *from_var = from_type->pointer.base_variable;