r219969 - in /trunk/gcc: c-family/ChangeLog c-f...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Jan 21 21:23:00 GMT 2015
Author: jakub
Date: Wed Jan 21 21:23:04 2015
New Revision: 219969
URL: https://gcc.gnu.org/viewcvs?rev=219969&root=gcc&view=rev
Log:
PR c/63307
* cilk.c (fill_decls_vec): Only put decls into vector v.
(compare_decls): Fix up formatting.
* c-c++-common/cilk-plus/CK/pr63307.c: New test.
2015-01-21 Igor Zamyatin <igor.zamyatin@intel.com>
PR c/63307
* cilk.c: Include vec.h.
(struct cilk_decls): New structure.
(wrapper_parm_cb): Split this function to...
(fill_decls_vec): ...this...
(create_parm_list): ...and this.
(compare_decls): New function.
(for_local_cb): Remove.
(wrapper_local_cb): Ditto.
(build_wrapper_type): For now first traverse and fill vector of
declarations then sort it and then deal with sorted vector.
(cilk_outline): Ditto.
(declare_one_free_variable): Ditto.
Added:
trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/pr63307.c
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/cilk.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list