diff options
author | foreese <foreese@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-10 21:54:48 +0000 |
---|---|---|
committer | foreese <foreese@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-11-10 21:54:48 +0000 |
commit | ac1739da2f62064ef7cd6ed8000a5bd64030b43e (patch) | |
tree | 1b848f307ec6f5df1c86adced8e648c82b497701 /gcc/fortran/interface.c | |
parent | 31db86df8fa1d3248c97de6c47dbd76fb74eaa8e (diff) | |
download | gcc-ac1739da2f62064ef7cd6ed8000a5bd64030b43e.tar.gz |
Fix some whitespace.
gcc/fortran/
* decl.c (get_struct_decl, gfc_match_map, gfc_match_union): Fix
whitespace.
* interface.c (gfc_compare_union_types): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@242057 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fortran/interface.c')
-rw-r--r-- | gcc/fortran/interface.c | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c index 98a61dfe3bc..a0cb0bb9ce3 100644 --- a/gcc/fortran/interface.c +++ b/gcc/fortran/interface.c @@ -558,46 +558,46 @@ gfc_compare_union_types (gfc_symbol *un1, gfc_symbol *un2) we will say they are not equal for the purposes of this test; therefore we compare the maps sequentially. */ for (;;) - { - map1_t = map1->ts.u.derived; - map2_t = map2->ts.u.derived; + { + map1_t = map1->ts.u.derived; + map2_t = map2->ts.u.derived; - cmp1 = map1_t->components; - cmp2 = map2_t->components; + cmp1 = map1_t->components; + cmp2 = map2_t->components; - /* Protect against null components. */ - if (map1_t->attr.zero_comp != map2_t->attr.zero_comp) - return 0; + /* Protect against null components. */ + if (map1_t->attr.zero_comp != map2_t->attr.zero_comp) + return 0; - if (map1_t->attr.zero_comp) - return 1; + if (map1_t->attr.zero_comp) + return 1; - for (;;) - { - /* No two fields will ever point to the same map type unless they are - the same component, because one map field is created with its type - declaration. Therefore don't worry about recursion here. */ - /* TODO: worry about recursion into parent types of the unions? */ - if (compare_components (cmp1, cmp2, map1_t, map2_t) == 0) - return 0; + for (;;) + { + /* No two fields will ever point to the same map type unless they are + the same component, because one map field is created with its type + declaration. Therefore don't worry about recursion here. */ + /* TODO: worry about recursion into parent types of the unions? */ + if (compare_components (cmp1, cmp2, map1_t, map2_t) == 0) + return 0; - cmp1 = cmp1->next; - cmp2 = cmp2->next; + cmp1 = cmp1->next; + cmp2 = cmp2->next; - if (cmp1 == NULL && cmp2 == NULL) - break; - if (cmp1 == NULL || cmp2 == NULL) - return 0; - } + if (cmp1 == NULL && cmp2 == NULL) + break; + if (cmp1 == NULL || cmp2 == NULL) + return 0; + } - map1 = map1->next; - map2 = map2->next; + map1 = map1->next; + map2 = map2->next; - if (map1 == NULL && map2 == NULL) - break; - if (map1 == NULL || map2 == NULL) - return 0; - } + if (map1 == NULL && map2 == NULL) + break; + if (map1 == NULL || map2 == NULL) + return 0; + } return 1; } |