[Bug c++/60146] [4.8 Regression] ICE when compiling this code with -fopenmp

2014-03-01 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146

Jason Merrill  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Jason Merrill  ---
Fixed for 4.8.3.


[Bug c++/60146] [4.8 Regression] ICE when compiling this code with -fopenmp

2014-03-01 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146

--- Comment #7 from Jason Merrill  ---
Author: jason
Date: Sat Mar  1 18:43:24 2014
New Revision: 208244

URL: http://gcc.gnu.org/viewcvs?rev=208244&root=gcc&view=rev
Log:
PR c++/60146
* pt.c (tsubst_omp_for_iterator): Don't let substitution of the
DECL_EXPR initialize a non-class iterator.


Conflicts:
gcc/cp/pt.c

Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/gomp/for-20.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/pt.c


[Bug c++/60146] [4.8 Regression] ICE when compiling this code with -fopenmp

2014-02-24 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60146

Jason Merrill  changed:

   What|Removed |Added

Summary|[4.8/4.9 Regression] ICE|[4.8 Regression] ICE when
   |when compiling this code|compiling this code with
   |with -fopenmp   |-fopenmp

--- Comment #6 from Jason Merrill  ---
Fixed in 4.9 so far.