aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2010-05-17 16:09:35 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2010-05-17 16:09:35 +0000
commitb64fca63690ad6042bea885cd2556b3feaaf7eb3 (patch)
treec62de9869ae1ca74c6c0cc193a107ddcb1c50c80 /gcc/tree.c
parent8748ad99e9aba52146166e3e6df7802226189dec (diff)
downloadgcc-b64fca63690ad6042bea885cd2556b3feaaf7eb3.zip
gcc-b64fca63690ad6042bea885cd2556b3feaaf7eb3.tar.gz
gcc-b64fca63690ad6042bea885cd2556b3feaaf7eb3.tar.bz2
tree.c (build_function_type_list_1): Remove bogus assert condition.
gcc/ * tree.c (build_function_type_list_1): Remove bogus assert condition. gcc/fortran/ * trans-types.c (gfc_init_types): Use build_function_type_list. (gfc_get_ppc_type): Likewise. * trans-decl.c (gfc_generate_constructors): Likewise. * f95-lang.c (build_builtin_fntypes): Likewise. (gfc_init_builtin_functions): Likewise. (DEF_FUNCTION_TYPE_0): Likewise. (DEF_FUNCTION_TYPE_1): Likewise. (DEF_FUNCTION_TYPE_2): Likewise. (DEF_FUNCTION_TYPE_3): Likewise. (DEF_FUNCTION_TYPE_4): Likewise. (DEF_FUNCTION_TYPE_5): Likewise. (DEF_FUNCTION_TYPE_6): Likewise. (DEF_FUNCTION_TYPE_7): Likewise. Use ARG7. (DEF_FUNCTION_TYPE_VAR_0): Use build_varags_function_type_list. From-SVN: r159491
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 3c456a2..00de313 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -7330,7 +7330,7 @@ build_function_type_list_1 (bool vaargs, tree return_type, va_list argp)
last = args;
if (args != NULL_TREE)
args = nreverse (args);
- gcc_assert (args != NULL_TREE && last != void_list_node);
+ gcc_assert (last != void_list_node);
}
else if (args == NULL_TREE)
args = void_list_node;