From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20513 invoked by alias); 14 Jan 2010 01:41:13 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 20489 invoked by uid 9674); 14 Jan 2010 01:41:13 -0000 Date: Thu, 14 Jan 2010 01:41:00 -0000 Message-ID: <20100114014112.20474.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-vla: Simplify the dead assertion. X-Git-Refname: refs/heads/archer-jankratochvil-vla X-Git-Reftype: branch X-Git-Oldrev: 688f0ffde6a6893ab072d88018ad93c99bdd25ed X-Git-Newrev: 20f04d767c505173ce3a379600cf46df2a594b27 X-SW-Source: 2010-q1/txt/msg00037.txt.bz2 List-Id: The branch, archer-jankratochvil-vla has been updated via 20f04d767c505173ce3a379600cf46df2a594b27 (commit) from 688f0ffde6a6893ab072d88018ad93c99bdd25ed (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 20f04d767c505173ce3a379600cf46df2a594b27 Author: Jan Kratochvil Date: Thu Jan 14 02:40:53 2010 +0100 Simplify the dead assertion. ----------------------------------------------------------------------- Summary of changes: gdb/gdbtypes.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) First 500 lines of diff: diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 815f849..acf0637 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -3389,10 +3389,7 @@ delete_main_type (struct type *type) } xfree (TYPE_FIELDS (type)); - /* `struct cplus_struct_type' handling is unsupported by this function. */ - gdb_assert ((TYPE_CODE (type) != TYPE_CODE_STRUCT - && TYPE_CODE (type) != TYPE_CODE_UNION) - || !HAVE_CPLUS_STRUCT (type)); + gdb_assert (!HAVE_CPLUS_STRUCT (type)); xfree (TYPE_MAIN_TYPE (type)); } hooks/post-receive -- Repository for Project Archer.