diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 715481dcaea..f467dce03d4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-10-26 Ben Elliston + + * gimplify.c (get_name): Remove extraneous break. + (gimplify_omp_for): Initialise ret with GS_OK. + 2006-10-25 Steve Ellcey * config/ia64/hpux.h: Define _INCLUDE__STDC_A1_SOURCE in C++. diff --git a/gcc/gimplify.c b/gcc/gimplify.c index ab11a832fdf..41486f15067 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -510,7 +510,6 @@ get_name (tree t) { case ADDR_EXPR: return get_name (TREE_OPERAND (stripped_decl, 0)); - break; default: return NULL; } @@ -4872,7 +4871,7 @@ static enum gimplify_status gimplify_omp_for (tree *expr_p, tree *pre_p) { tree for_stmt, decl, t; - enum gimplify_status ret = 0; + enum gimplify_status ret = GS_OK; for_stmt = *expr_p;