interface.c (compare_components): Fix typo in name check conditional.
2016-08-23 Fritz Reese <fritzoreese@gmail.com> gcc/fortran/ * interface.c (compare_components): Fix typo in name check conditional. From-SVN: r239706
This commit is contained in:
parent
e90a801017
commit
a181ec0301
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2016-08-23 Fritz Reese <fritzoreese@gmail.com>
|
||||
|
||||
* interface.c (compare_components): Fix typo in name check conditional.
|
||||
|
||||
2016-08-22 Steven G. Kargl <kargl@gcc.gnu.org>
|
||||
Bud Davis <jmdavis@link.com>
|
||||
|
||||
|
|
|
@ -403,7 +403,7 @@ compare_components (gfc_component *cmp1, gfc_component *cmp2,
|
|||
if ( (d1 && (d1->attr.flavor == FL_STRUCT || d1->attr.flavor == FL_UNION)
|
||||
&& ISUPPER (cmp1->name[1]))
|
||||
|| (d2 && (d2->attr.flavor == FL_STRUCT || d2->attr.flavor == FL_UNION)
|
||||
&& ISUPPER (cmp1->name[1])))
|
||||
&& ISUPPER (cmp2->name[1])))
|
||||
anonymous = true;
|
||||
|
||||
if (!anonymous && strcmp (cmp1->name, cmp2->name) != 0)
|
||||
|
|
Loading…
Add table
Reference in a new issue