Skip to content

Merge r313675 into the 5.0 branch: fix seg-faults printing diagnostics with invalid ordered(n) values #34528

@hahnjo

Description

@hahnjo
Bugzilla Link 35180
Resolution FIXED
Resolved on Nov 13, 2017 15:52
Version unspecified
OS All
Blocks #33840
CC @alexey-bataev,@hfinkel,@tstellar
Fixed by commit(s) r313675 r318116

Extended Description

When the value specified for n in ordered(n) is larger than the number of loops a segmentation fault can occur in one of two ways when attempting to print out a diagnostic for an associated depend(sink : vec):

  1. The iteration vector vec contains less than n items
  2. The iteration vector vec contains a variable that is not a loop control variable
    This patch addresses both of these issues.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillaopenmp

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions