Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

6.6C Use Association Problem?

Jugoslav_Dujic
Valued Contributor II
415 Views
CVF 6.6C (OK, I know it's not official but...) allows redeclaration of entities imported through use association, provided they're not actually used:
module m
integer, allocatable:: aa(:)
end module m
program cache
use m
real:: aa
end program cache
Earlier versions did complain about very declaration of aa; 6.6C complains only if I try to use aa.
Who's right? (I kinda recall a discussion on c.l.f. where IIRC R. Maine said that the sample above is legal, albeit unusable, but my memories are vague).
Jugoslav
0 Kudos
0 Replies
Reply