[Bug c++/53672] gcc/branches/cilkplus does not like C++ spawn (when optimized)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53672 --- Comment #4 from bviyer at gcc dot gnu.org 2012-06-15 19:44:04 UTC --- Author: bviyer Date: Fri Jun 15 19:43:57 2012 New Revision: 188680 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188680 Log: This patch fixes bug PR 53672. 2012-06-15 Balaji V. Iyer * dwarf2out.c (dwarf2out_function_decl): Added a check for spawn helper. Modified: branches/cilkplus/gcc/ChangeLog.cilk branches/cilkplus/gcc/dwarf2out.c
[Bug c++/53672] gcc/branches/cilkplus does not like C++ spawn (when optimized)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53672 --- Comment #8 from bviyer at gcc dot gnu.org 2012-06-18 02:08:03 UTC --- Author: bviyer Date: Mon Jun 18 02:07:54 2012 New Revision: 188722 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188722 Log: This patch should fix the 2nd case of PR 53672. 2012-06-17 Balaji V. Iyer PR 53672 * dwarf2out.c (dwarf2out_abstract_function): Added a check for the spawn helper. (dwarf2out_function_decl): Added a check if CILK_FN_P is set when there is no function struct. * cilk.c (expand_builtin_cilk_metadata): Set the CILK_FN_P field to 1. * cilk-spawn.c (cg-hacks): Likewise. (gimplify_cilk_for_2): Likewise. (gimplify_cilk_for): Likewise. * tree.h (CILK_FN_P): Added new #define to access a base field of tree. Modified: branches/cilkplus/gcc/ChangeLog.cilk branches/cilkplus/gcc/cilk-spawn.c branches/cilkplus/gcc/cilk.c branches/cilkplus/gcc/cp/ChangeLog.cilk branches/cilkplus/gcc/cp/cilk.c branches/cilkplus/gcc/dwarf2out.c branches/cilkplus/gcc/tree.h
[Bug bootstrap/58918] [4.9 regression] cilk #includes alloc.h unconditionally, even when not present
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58918 --- Comment #4 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Wed Oct 30 22:51:29 2013 New Revision: 204232 URL: http://gcc.gnu.org/viewcvs?rev=204232&root=gcc&view=rev Log: Fix for bug Bootstrap/58918. +2013-10-30 Balaji V. Iyer + + * configure: Reconfigured. + * configure.ac: Add AC_FUNC_ALLOCA. + * runtime/sysdep-unix.c: Added check for alloca.h before + including it. + * config/x86/cilk-abi-vla.c: Likewise. + * runtime/cilk_fiber-unix.cpp: Likewise. + Modified: trunk/libcilkrts/ChangeLog trunk/libcilkrts/Makefile.in trunk/libcilkrts/configure trunk/libcilkrts/configure.ac trunk/libcilkrts/runtime/cilk_fiber-unix.cpp trunk/libcilkrts/runtime/config/x86/cilk-abi-vla.c trunk/libcilkrts/runtime/sysdep-unix.c
[Bug bootstrap/58925] --enable-version-specific-runtime-libs breaks libcilk install
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58925 --- Comment #7 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Thu Oct 31 23:55:21 2013 New Revision: 204280 URL: http://gcc.gnu.org/viewcvs?rev=204280&root=gcc&view=rev Log: Fix for PR other/58925 +2013-10-31 Balaji V. Iyer + + PR other/58925 + * configure.ac: Added target_alias and GCC_LIBSTDCXX_RAW_CXX_FLAGS + fields. + * configure: Regenerated. + * aclocal.m4: Likewise. + * Makefile.in: Likewise. + * Makefile.am: Added gcc_version field. + Modified: trunk/libcilkrts/ChangeLog trunk/libcilkrts/Makefile.am trunk/libcilkrts/Makefile.in trunk/libcilkrts/aclocal.m4 trunk/libcilkrts/configure trunk/libcilkrts/configure.ac
[Bug bootstrap/58951] [4.9 regression] cilk build fails due to use of -ldl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58951 --- Comment #2 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Tue Nov 5 04:12:53 2013 New Revision: 204381 URL: http://gcc.gnu.org/viewcvs?rev=204381&root=gcc&view=rev Log: fix for PR bootstrap/58951 +2013-11-04 Balaji V. Iyer + + PR bootstrap/58951 + * Makefile.am (AM_LDFLAGS): Removed -ldl flag. + * Makefile.in: Regenerate. + Modified: trunk/libcilkrts/ChangeLog trunk/libcilkrts/Makefile.am trunk/libcilkrts/Makefile.in
[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039 --- Comment #22 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Fri Nov 8 19:52:27 2013 New Revision: 204592 URL: http://gcc.gnu.org/viewcvs?rev=204592&root=gcc&view=rev Log: +2013-11-08 Balaji V. Iyer + + PR c/59039 + * runtime/cilk_fiber-unix.cpp: Fixed a crash in run() function + when optimization is turned on. + Modified: trunk/libcilkrts/ChangeLog trunk/libcilkrts/runtime/cilk_fiber-unix.cpp
[Bug bootstrap/60644] [4.9/4.10 Regression] Build of i686-pc-linux-android is broken
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60644 --- Comment #8 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Fri Apr 11 19:56:42 2014 New Revision: 209324 URL: http://gcc.gnu.org/viewcvs?rev=209324&root=gcc&view=rev Log: Fix for PR other/60644. +2014-04-11 Barry Tannenbaum + + PR other/60644 + * runtime/os-unix.c: Replaced all occurrances of ANDROID with + __ANDROID__. + * runtime/bug.h: Likewise. + * include/cilk/metaprogramming.h: Likewise. + * include/cilk/reducer_min_max.h: Likewise. + Modified: trunk/libcilkrts/ChangeLog trunk/libcilkrts/include/cilk/metaprogramming.h trunk/libcilkrts/include/cilk/reducer_min_max.h trunk/libcilkrts/runtime/bug.h trunk/libcilkrts/runtime/os-unix.c
[Bug c++/59631] ICE using _Cilk_spawn without -fcilkplus
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59631 --- Comment #4 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Thu Jan 9 13:37:41 2014 New Revision: 206463 URL: http://gcc.gnu.org/viewcvs?rev=206463&root=gcc&view=rev Log: Fix for PR c++/59631. +++ gcc/cp/ChangeLog +2014-01-09 Balaji V. Iyer + + PR c++/59631 + * parser.c (cp_parser_postfix_expression): Added a new if-statement + and replaced an existing if-statement with else-if statement. + Changed an existing error message wording to match the one from the C + parser. + +++ gcc/testsuite/ChangeLog +2014-01-09 Balaji V. Iyer + + PR c++/59631 + * gcc.dg/cilk-plus/cilk-plus.exp: Removed "-fcilkplus" from flags list. + * g++.dg/cilk-plus/cilk-plus.exp: Likewise. + * c-c++-common/cilk-plus/CK/spawnee_inline.c: Replaced second dg-option + with dg-additional-options. + * c-c++-common/cilk-plus/CK/varargs_test.c: Likewise. + * c-c++-common/cilk-plus/CK/steal_check.c: Likewise. + * c-c++-common/cilk-plus/CK/spawner_inline.c: Likewise. + * c-c++-common/cilk-plus/CK/spawning_arg.c: Likewise. + * c-c++-common/cilk-plus/CK/invalid_spawns.c: Added a dg-options tag. + * c-c++-common/cilk-plus/CK/pr59631.c: New testcase. + gcc/c/ChangeLog +2014-01-09 Balaji V. Iyer + + PR c++/59631 + * c-parser.c (c_parser_postfix_expression): Replaced consecutive if + statements with if-elseif statements. + Added: trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/pr59631.c Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-parser.c trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/invalid_spawns.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawnee_inline.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawner_inline.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/spawning_arg.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/steal_check.c trunk/gcc/testsuite/c-c++-common/cilk-plus/CK/varargs_test.c trunk/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp trunk/gcc/testsuite/gcc.dg/cilk-plus/cilk-plus.exp
[Bug testsuite/59524] cilk-plus tests are run with --disable-libcilkrts
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59524 --- Comment #1 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Thu Jan 9 15:41:20 2014 New Revision: 206468 URL: http://gcc.gnu.org/viewcvs?rev=206468&root=gcc&view=rev Log: Fix for PR testsuite/59524 2014-01-09 Balaji V. Iyer + PR testsuite/59524 + * gcc.dg/cilk-plus/cilk-plus.exp: Make sure the cilk keywords tests + are run only if the Cilk library is available/enabled. + * g++.dg/cilk-plus/cilk-plus.exp: Likewise. + * lib/target-supports.exp (check_libcilkrts_available): New function. + Modified: trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp trunk/gcc/testsuite/gcc.dg/cilk-plus/cilk-plus.exp trunk/gcc/testsuite/lib/target-supports.exp
[Bug bootstrap/59094] [4.9 Regression] Cilk runtime library headers are installed into the general include directory
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59094 --- Comment #4 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Thu Jan 9 16:52:23 2014 New Revision: 206469 URL: http://gcc.gnu.org/viewcvs?rev=206469&root=gcc&view=rev Log: Fix for PR bootstrap/59094 +2014-01-09 Balaji V. Iyer + + PR bootstrap/59094 + * Makefile.am (cilkincludedir): Fixed a bug to store version-specific + runtime libraries in the correct place. + * Makefile.in: Regenerate. + Modified: trunk/libcilkrts/ChangeLog trunk/libcilkrts/Makefile.am trunk/libcilkrts/Makefile.in
[Bug other/58996] [4.9 regression] build failure in libcilkrts
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58996 --- Comment #18 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Mon Jan 20 17:49:22 2014 New Revision: 206846 URL: http://gcc.gnu.org/viewcvs?rev=206846&root=gcc&view=rev Log: Fix for PR other/58996. +2014-01-20 Balaji V. Iyer + + PR other/58996 + * configure.ac: Added a check for pthread affinity support. + * runtime/os-unix.c: Likewise. + * configure: Regenerate. + Modified: trunk/libcilkrts/ChangeLog trunk/libcilkrts/configure trunk/libcilkrts/configure.ac trunk/libcilkrts/runtime/os-unix.c
[Bug c/59825] Many cilkplus test failures
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59825 --- Comment #6 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Thu Jan 23 17:00:53 2014 New Revision: 206991 URL: http://gcc.gnu.org/viewcvs?rev=206991&root=gcc&view=rev Log: Fix for PR c/59825. 2014-01-23 Balaji V. Iyer PR c/59825 * c-array-notation.c (expand_array_notation_exprs): Rewrote this function to use walk_tree and moved a lot of its functionality to expand_array_notations. (expand_array_notations): New function. Modified: trunk/gcc/c/ChangeLog trunk/gcc/c/c-array-notation.c
[Bug target/59691] cilk-plus run failures on non-sse processors
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59691 --- Comment #10 from bviyer at gcc dot gnu.org --- Author: bviyer Date: Mon Feb 10 16:56:54 2014 New Revision: 207664 URL: http://gcc.gnu.org/viewcvs?rev=207664&root=gcc&view=rev Log: Fix for PR target/59691. +2014-02-10 Balaji V. Iyer + + PR target/59691 + * runtime/config/x86/os-unix-sysdep.c (__builtin_cpu_supports): New + function. + (restore_x86_fp_state): Added a check if the cpu supports the + instruction before emitting it. + (sysdep_save_fp_ctrl_state): Likewise. + Modified: trunk/libcilkrts/ChangeLog trunk/libcilkrts/runtime/config/x86/os-unix-sysdep.c