aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-decl.c
diff options
context:
space:
mode:
authorPo-Chun Chang <pchang9@cs.wisc.edu>2013-07-22 09:20:11 -0600
committerJeff Law <law@gcc.gnu.org>2013-07-22 09:20:11 -0600
commitae382ebd8cbd04ae9d6bd24507b307f00d7ff5b4 (patch)
tree4674bc8f90b7739914eac2c3df90ba7086e62181 /gcc/fortran/trans-decl.c
parent9b6e6981e12dd37db9eccf38ea4fa46fa0efd8d4 (diff)
downloadgcc-ae382ebd8cbd04ae9d6bd24507b307f00d7ff5b4.zip
gcc-ae382ebd8cbd04ae9d6bd24507b307f00d7ff5b4.tar.gz
gcc-ae382ebd8cbd04ae9d6bd24507b307f00d7ff5b4.tar.bz2
df-problems.c (can_move_insns_across): Exit loop once we find a non-fixed, non-global register.
* df-problems.c (can_move_insns_across): Exit loop once we find a non-fixed, non-global register. * ipa-pure-const.c (propagate_nothrow): Exit loop after setting can_throw. * omega.c (omega_eliminate_red): Break after setting red_found. (omega_problem_has_red_equations): Similarly after setting found. (omega_query_variable): Similarly after setting coupled. * trans-decl.c (gfc_build_dummy_array_decl): Exit loop after setting PACKED_PARTIAL. From-SVN: r201132
Diffstat (limited to 'gcc/fortran/trans-decl.c')
-rw-r--r--gcc/fortran/trans-decl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c
index 0d7d9c5..2916b4c 100644
--- a/gcc/fortran/trans-decl.c
+++ b/gcc/fortran/trans-decl.c
@@ -975,7 +975,10 @@ gfc_build_dummy_array_decl (gfc_symbol * sym, tree dummy)
&& as->lower[n]
&& as->upper[n]->expr_type == EXPR_CONSTANT
&& as->lower[n]->expr_type == EXPR_CONSTANT))
- packed = PACKED_PARTIAL;
+ {
+ packed = PACKED_PARTIAL;
+ break;
+ }
}
}
else