mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-15 19:40:30 +08:00
associated (associated): Zero-sized arrays should not be reported as ASSOCIATED.
* intrinsics/associated (associated): Zero-sized arrays should not be reported as ASSOCIATED. From-SVN: r114113
This commit is contained in:
parent
2d60e929a1
commit
71d4afdc0e
@ -1,3 +1,8 @@
|
||||
2006-05-25 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
* intrinsics/associated (associated): Zero-sized arrays should
|
||||
not be reported as ASSOCIATED.
|
||||
|
||||
2006-05-24 Carlos O'Donell <carlos@codesourcery.com>
|
||||
|
||||
* Makefile.am: Add install-html target. Add install-html to .PHONY
|
||||
|
@ -52,6 +52,8 @@ associated (const gfc_array_void *pointer, const gfc_array_void *target)
|
||||
if ((pointer->dim[n].ubound - pointer->dim[n].lbound)
|
||||
!= (target->dim[n].ubound - target->dim[n].lbound))
|
||||
return 0;
|
||||
if (pointer->dim[n].ubound < pointer->dim[n].lbound)
|
||||
return 0;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user