Missing Start Site

Occurs when an end-site annotation is executed but there is no active site.

Problem type: Missing start site

ID

Code Location

Description

1

End site

Represents the location and associated call stack when the end site annotation was executed.

Example

void main()
{
    ANNOTATE_SITE_END();  // End parallel site
}

This example executes an ANNOTATE_SITE_END() annotation before executing the corresponding (in this case, missing) ANNOTATE_SITE_BEGIN(sitename) annotation.

Possible Correction Strategies

Always execute an ANNOTATE_SITE_BEGIN() annotation before executing an ANNOTATE_SITE_END() annotation.

For more complete information about compiler optimizations, see our Optimization Notice.