summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-28 07:58:29 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-28 07:58:29 +0000
commit0927d7aa1b6845a95709b60ea35a6b3f0c83632d (patch)
tree15b37e7087da62901309b3a8743dc5c0142c16fe
parent69f57d7483a07786c35a0b2f5c7c3e4f59113690 (diff)
downloadppe42-gcc-0927d7aa1b6845a95709b60ea35a6b3f0c83632d.tar.gz
ppe42-gcc-0927d7aa1b6845a95709b60ea35a6b3f0c83632d.zip
* tree-ssa-alias.c (push_fields_onto_fieldstack): Remove bogus
assert. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98916 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree-ssa-alias.c8
2 files changed, 5 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9e6e01dfe3d..282d8734fd0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-28 Nathan Sidwell <nathan@codesourcery.com>
+
+ * tree-ssa-alias.c (push_fields_onto_fieldstack): Remove bogus
+ assert.
+
2005-04-28 Kazu Hirata <kazu@cs.umass.edu>
* modulo-sched.c, tree-stdarg.c: Use targetm.foo instead of
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index a723e2ad0a0..5e796c1da52 100644
--- a/gcc/tree-ssa-alias.c
+++ b/gcc/tree-ssa-alias.c
@@ -2824,14 +2824,6 @@ push_fields_onto_fieldstack (tree type, VEC(fieldoff_s,heap) **fieldstack,
tree field;
int count = 0;
- /* Although there is nothing wrong per se with a structure whose
- first field does not start at offset 0, there appeared to be an
- Ada bug where the first field's offset was not zero, but the
- field itself was at offset zero. Make sure that doesn't
- reoccur. */
- gcc_assert (!TYPE_FIELDS (type)
- || TREE_CODE (TYPE_FIELDS (type)) != FIELD_DECL
- || !bitpos_of_field (TYPE_FIELDS (type)));
for (field = TYPE_FIELDS (type); field; field = TREE_CHAIN (field))
if (TREE_CODE (field) == FIELD_DECL)
{
OpenPOWER on IntegriCloud