[Bug c++/59631] ICE using _Cilk_spawn without -fcilkplus

2014-01-09 Thread bviyer at gcc dot gnu.org
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=206463root=gccview=rev
Log:
Fix for PR c++/59631.
+++ gcc/cp/ChangeLog
+2014-01-09  Balaji V. Iyer  balaji.v.i...@intel.com
+
+   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  balaji.v.i...@intel.com
+
+   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  balaji.v.i...@intel.com
+
+   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 c++/59631] ICE using _Cilk_spawn without -fcilkplus

2014-01-09 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59631

Volker Reichelt reichelt at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords|ice-on-valid-code   |ice-on-invalid-code
 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from Volker Reichelt reichelt at gcc dot gnu.org ---
Fixed by the patch in comment #4.


[Bug c++/59631] ICE using _Cilk_spawn without -fcilkplus

2014-01-02 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59631

Marek Polacek mpolacek at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-01-02
 CC||mpolacek at gcc dot gnu.org
   Target Milestone|--- |4.9.0
 Ever confirmed|0   |1

--- Comment #3 from Marek Polacek mpolacek at gcc dot gnu.org ---
Confirmed.


[Bug c++/59631] ICE using _Cilk_spawn without -fcilkplus

2013-12-30 Thread nickc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59631

--- Comment #1 from Nick Clifton nickc at gcc dot gnu.org ---
Author: nickc
Date: Mon Dec 30 17:37:08 2013
New Revision: 206250

URL: http://gcc.gnu.org/viewcvs?rev=206250root=gccview=rev
Log:
PR target/59631
* stor-layout.c (get_mode_bounds): Use GET_MODE_PRECISION instead
of GET_MODE_BITSIZE.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/stor-layout.c


[Bug c++/59631] ICE using _Cilk_spawn without -fcilkplus

2013-12-30 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59631

--- Comment #2 from Volker Reichelt reichelt at gcc dot gnu.org ---
The patch in comment #1 was meant for PR 59613.