aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-tree.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-08-26 17:37:48 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-08-26 17:37:48 -0700
commitee8a6a3ee5d35c2e188225c2bbb58c2cca69a2ab (patch)
treedac64a782e7964b7582fea44120f93c164d43398 /gcc/c-tree.h
parent525c6bf5a6b91fa09f57b79bad9737ab3733601d (diff)
downloadgcc-ee8a6a3ee5d35c2e188225c2bbb58c2cca69a2ab.zip
gcc-ee8a6a3ee5d35c2e188225c2bbb58c2cca69a2ab.tar.gz
gcc-ee8a6a3ee5d35c2e188225c2bbb58c2cca69a2ab.tar.bz2
c-typeck.c (build_offsetof): Remove.
* 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. From-SVN: r86651
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 5c99f47..f9f06eb 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. */