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 fixes the problem by
adding the cilk files to GTFILES and gengtype.c.
Bootstrapped and regression tested on x86_64-linux.
2016-05-16 Ryan Burn <cont...@rnburn.com>
* Makefile.in (GTFILES): Add cilk.h and cilk-common.c.
* gengtype.c (open_base_files): Add cilk.h to ifiles.
Thanks. Installed on the trunk.
jeff