Re: [cilkplus] Fix precompiled header bug (PR cilkplus/70865)

2016-05-19 Thread Jeff Law
On 05/19/2016 11:58 AM, Ryan Burn wrote: The file cilk.h defines the memory managed cilk_trees variable, but fails to include the header in the GTFILES list. When a precompiled header is loaded, the array is then not properly restored and points to garbage memory, causing a segfault. This patch

[cilkplus] Fix precompiled header bug (PR cilkplus/70865)

2016-05-19 Thread Ryan Burn
The file cilk.h defines the memory managed cilk_trees variable, but fails to include the header in the GTFILES list. When a precompiled header is loaded, the array is then not properly restored and points to garbage memory, causing a segfault. This patch fixes the problem by adding the cilk files