Skip to content

0961_0005 seems to read from uninitialized variable #11

Open
@ashermancinelli

Description

@ashermancinelli

The mask argument to forall() seems to be checking an uninitialized array:

select type(aa=>i)
type is(integer)
 forall( aa=1:10,arr(aa)==0) ! aa is uninitialized
  arr(aa) = aa
 end forall
 print*,arr
end select

Should arr be initialized to something here?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions