summaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-29 11:33:17 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-29 11:33:17 +0000
commitd82c8605352486009317d903db37bc496894a50c (patch)
tree68c027b56e9c91ff4f1c668c723314cd9c4e4516 /gcc/tree-nested.c
parente2486556bd37b57b5c6a839d016ceb0dcb78b0cf (diff)
downloadgcc-d82c8605352486009317d903db37bc496894a50c.tar.gz
* tree-nested.c (check_for_nested_with_variably_modified): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136154 138bc75d-0d04-0410-961f-82ee72b054a4
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 ded3c2bf49b..9e3d8ceee1f 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))