aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-04-28 07:58:29 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2005-04-28 07:58:29 +0000
commitedcd599b95b7d309f88bcd8de62c5e7bb50d861e (patch)
tree15b37e7087da62901309b3a8743dc5c0142c16fe /gcc/tree-ssa-alias.c
parenta9dd5a466ae70d8547ae01c8afa046a5fc58d501 (diff)
downloadgcc-edcd599b95b7d309f88bcd8de62c5e7bb50d861e.zip
gcc-edcd599b95b7d309f88bcd8de62c5e7bb50d861e.tar.gz
gcc-edcd599b95b7d309f88bcd8de62c5e7bb50d861e.tar.bz2
tree-ssa-alias.c (push_fields_onto_fieldstack): Remove bogus assert.
* tree-ssa-alias.c (push_fields_onto_fieldstack): Remove bogus assert. From-SVN: r98916
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r--gcc/tree-ssa-alias.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c
index a723e2a..5e796c1 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)
{