summaryrefslogtreecommitdiff
path: root/gcc/pointer-set.h
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-21 21:20:02 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-21 21:20:02 +0000
commit675cc66a3a20c219eee05919bec5580f1b3c0c2c (patch)
tree26a2279877aa52f21fba4ae120751143f5815a44 /gcc/pointer-set.h
parentf4dc4c794dc64dda19ab8bf99fe9a9c964111ec8 (diff)
downloadgcc-675cc66a3a20c219eee05919bec5580f1b3c0c2c.tar.gz
2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/18984 * pointer-set.c (pointer_set_contains): Add back. * pointer-set.h (pointer_set_contains): Add back. 2004-12-21 Andrew Pinski <pinskia@physics.uc.edu> PR c++/18984 * cp-gimplify.c (cp_genericize_r): Don't insert first but instead check to see if contains the pointer. Insert the statement before returning. 2004-12-21 Andrew Pinski <pinskia@physics.uc.edu> PR C++/18984 * g++.dg/eh/ctor3.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92470 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/pointer-set.h')
-rw-r--r--gcc/pointer-set.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/pointer-set.h b/gcc/pointer-set.h
index 3c2be390daf..65ac9ee4724 100644
--- a/gcc/pointer-set.h
+++ b/gcc/pointer-set.h
@@ -26,6 +26,7 @@ struct pointer_set_t;
struct pointer_set_t *pointer_set_create (void);
void pointer_set_destroy (struct pointer_set_t *pset);
+int pointer_set_contains (struct pointer_set_t *pset, void *p);
int pointer_set_insert (struct pointer_set_t *pset, void *p);
#endif /* POINTER_SET_H */