OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2006-08-17 Paolo Bonzini <bonzini@gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
cp
/
semantics.c
diff --git
a/gcc/cp/semantics.c
b/gcc/cp/semantics.c
index
d36eba7
..
fb4ea0a
100644
(file)
--- a/
gcc/cp/semantics.c
+++ b/
gcc/cp/semantics.c
@@
-2904,7
+2904,7
@@
finish_offsetof (tree expr)
error ("cannot apply %<offsetof%> to member function %qD", expr);
return error_mark_node;
}
error ("cannot apply %<offsetof%> to member function %qD", expr);
return error_mark_node;
}
- return fold_offsetof (expr);
+ return fold_offsetof (expr
, NULL_TREE
);
}
/* Called from expand_body via walk_tree. Replace all AGGR_INIT_EXPRs
}
/* Called from expand_body via walk_tree. Replace all AGGR_INIT_EXPRs