summaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-27 00:37:48 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-27 00:37:48 +0000
commitaf28855bc1af90aa53b5de0a91ef843dce967545 (patch)
treedac64a782e7964b7582fea44120f93c164d43398 /gcc/c-tree.h
parent82e3f297ce223cec0a87865f7ea87f03586979b1 (diff)
downloadgcc-af28855bc1af90aa53b5de0a91ef843dce967545.tar.gz
* c-typeck.c (build_offsetof): Remove.
* c-tree.h (build_offsetof): Remove. * c-common.c (fold_offsetof_1, fold_offsetof): New. * c-common.h (fold_offsetof): Declare. * c-parse.in (offsetof_base): New. (offsetof_member_designator): Use it. Build references, not just a tree list. (primary): Use fold_offsetof, not build_offsetof. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86651 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r--gcc/c-tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h
index 5c99f47aa0e..f9f06eb517c 100644
--- a/gcc/c-tree.h
+++ b/gcc/c-tree.h
@@ -277,7 +277,6 @@ extern tree c_finish_return (tree);
extern tree c_finish_bc_stmt (tree *, bool);
extern tree c_finish_goto_label (tree);
extern tree c_finish_goto_ptr (tree);
-extern tree build_offsetof (tree, tree);
/* Set to 0 at beginning of a function definition, set to 1 if
a return statement that specifies a return value is seen. */