aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2008-05-29 11:33:17 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2008-05-29 11:33:17 +0000
commit4efa7ef95504a0641601f71ef68092ac3d18f9f8 (patch)
tree68c027b56e9c91ff4f1c668c723314cd9c4e4516 /gcc/tree-nested.c
parent2f571334ff457850b9a7748b6af8c8d1d07c8f1c (diff)
downloadgcc-4efa7ef95504a0641601f71ef68092ac3d18f9f8.zip
gcc-4efa7ef95504a0641601f71ef68092ac3d18f9f8.tar.gz
gcc-4efa7ef95504a0641601f71ef68092ac3d18f9f8.tar.bz2
tree-nested.c (check_for_nested_with_variably_modified): Fix typo.
* tree-nested.c (check_for_nested_with_variably_modified): Fix typo. From-SVN: r136154
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r--gcc/tree-nested.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c
index ded3c2b..9e3d8ce 100644
--- a/gcc/tree-nested.c
+++ b/gcc/tree-nested.c
@@ -770,7 +770,7 @@ check_for_nested_with_variably_modified (tree fndecl, tree orig_fndecl)
for (cgn = cgn->nested; cgn ; cgn = cgn->next_nested)
{
for (arg = DECL_ARGUMENTS (cgn->decl); arg; arg = TREE_CHAIN (arg))
- if (variably_modified_type_p (TREE_TYPE (arg), 0), orig_fndecl)
+ if (variably_modified_type_p (TREE_TYPE (arg), orig_fndecl))
return true;
if (check_for_nested_with_variably_modified (cgn->decl, orig_fndecl))