diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2008-01-17 16:04:10 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2008-01-17 16:04:10 +0000 |
commit | 9328dd5725be9ddbca3350bf0586b30c3b920a6d (patch) | |
tree | 4bcac1ec5fb387062d0ec563f1ec4118134654c1 /gcc/tree.c | |
parent | 7c1950cdf15a9a1b0509ef0cff47411a2a812ec2 (diff) | |
download | gcc-9328dd5725be9ddbca3350bf0586b30c3b920a6d.zip gcc-9328dd5725be9ddbca3350bf0586b30c3b920a6d.tar.gz gcc-9328dd5725be9ddbca3350bf0586b30c3b920a6d.tar.bz2 |
tree.c (substitute_in_expr): Add missing 'break'.
* tree.c (substitute_in_expr): Add missing 'break'.
ada/
* utils.c (build_function_stub): Properly build the call expression.
From-SVN: r131600
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2530,8 +2530,8 @@ substitute_in_expr (tree exp, tree f, tree r) { tree copy = NULL_TREE; int i; - int n = TREE_OPERAND_LENGTH (exp); - for (i = 1; i < n; i++) + + for (i = 1; i < TREE_OPERAND_LENGTH (exp); i++) { tree op = TREE_OPERAND (exp, i); tree newop = SUBSTITUTE_IN_EXPR (op, f, r); @@ -2546,6 +2546,7 @@ substitute_in_expr (tree exp, tree f, tree r) else return exp; } + break; default: gcc_unreachable (); |