Nested implicit clock implementation allows outer clock to advance before inner clocked finish terminates

Description

The code in attached file, Test1.x10, violates a line in the manual saying that the inner clocked finish operates with in one phase of the outer clock when clocked finishes are nested. The expected output is 3.

$x10c Test1.x10 ; x10 Test1
x=3

$x10c++ Test1.x10 -o Test1; ./Test1
x=1

Environment

Mac OSX 10.9.5

$x10c -version
x10c version 2.5.1

$x10c++ -version
x10c++ version 2.5.1

$java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

Status

Assignee

DaveG

Reporter

Tomofumi Yuki

Labels

None

Components

Fix versions

Affects versions

Priority

Medium
Configure