re PR c/63307 (Cilk+ breaks -fcompare-debug bootstrap)
authorIgor Zamyatin <igor.zamyatin@intel.com>
Mon, 20 Oct 2014 15:22:09 +0000 (15:22 +0000)
committerIlya Verbin <iverbin@gcc.gnu.org>
Mon, 20 Oct 2014 15:22:09 +0000 (15:22 +0000)
commit948cf550b44fc0cca1c2eb6688d37ca93e99cb68
treef4ed6fbf0573b839728635c6d770d8f601662172
parentdbb4cfef76186a547ac0c3ce1e0d895cd87685ec
re PR c/63307 (Cilk+ breaks -fcompare-debug bootstrap)

PR c/63307
gcc/c-family/
* 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.

From-SVN: r216483
gcc/c-family/ChangeLog
gcc/c-family/cilk.c