aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-common.cc
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2023-08-25 10:22:11 +0200
committerUros Bizjak <ubizjak@gmail.com>2023-08-25 15:28:36 +0200
commit54cc21eaf5f3eb7f7a508919a086f6c8bf5c4c17 (patch)
tree642e07345332f15b82fbcc83b56987979f2da39d /gcc/fortran/trans-common.cc
parent3339220b9b0897c7e1cc887c5cb0a24ab4baf4ff (diff)
downloadgcc-54cc21eaf5f3eb7f7a508919a086f6c8bf5c4c17.zip
gcc-54cc21eaf5f3eb7f7a508919a086f6c8bf5c4c17.tar.gz
gcc-54cc21eaf5f3eb7f7a508919a086f6c8bf5c4c17.tar.bz2
fortran: Rename TRUE/FALSE to true/false in *.cc files
gcc/fortran/ChangeLog: * match.cc (gfc_match_equivalence): Rename TRUE/FALSE to true/false. * module.cc (check_access): Ditto. * primary.cc (match_real_constant): Ditto. * trans-array.cc (gfc_trans_allocate_array_storage): Ditto. (get_array_ctor_strlen): Ditto. * trans-common.cc (find_equivalence): Ditto. (add_equivalences): Ditto.
Diffstat (limited to 'gcc/fortran/trans-common.cc')
-rw-r--r--gcc/fortran/trans-common.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/fortran/trans-common.cc b/gcc/fortran/trans-common.cc
index c83b6f9..91a98b3 100644
--- a/gcc/fortran/trans-common.cc
+++ b/gcc/fortran/trans-common.cc
@@ -1048,7 +1048,7 @@ find_equivalence (segment_info *n)
gfc_equiv *e1, *e2, *eq;
bool found;
- found = FALSE;
+ found = false;
for (e1 = n->sym->ns->equiv; e1; e1 = e1->next)
{
@@ -1083,7 +1083,7 @@ find_equivalence (segment_info *n)
{
add_condition (n, eq, e2);
e2->used = 1;
- found = TRUE;
+ found = true;
}
}
}
@@ -1102,11 +1102,11 @@ static void
add_equivalences (bool *saw_equiv)
{
segment_info *f;
- bool more = TRUE;
+ bool more = true;
while (more)
{
- more = FALSE;
+ more = false;
for (f = current_segment; f; f = f->next)
{
if (!f->sym->equiv_built)