[Bug c++/48632] Internal compiler error when using OpenMP with template

2013-06-14 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48632

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

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

--- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com ---
I suppose we can close this.


[Bug c++/48632] Internal compiler error when using OpenMP with template

2011-04-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48632

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2011.04.18 10:04:20
 AssignedTo|unassigned at gcc dot   |jakub at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2011-04-18 
10:04:20 UTC ---
Created attachment 24028
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24028
gcc46-pr48632.patch

Untested fix.


[Bug c++/48632] Internal compiler error when using OpenMP with template

2011-04-18 Thread phelippeneveu at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48632

--- Comment #3 from Phelippe Neveu phelippeneveu at gmail dot com 2011-04-18 
14:48:45 UTC ---
Hi,

I tested the fix on the gcc-4_5-branch and it fixed the issue.

Regards,

Phelippe


[Bug c++/48632] Internal compiler error when using OpenMP with template

2011-04-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48632

--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2011-04-18 
21:55:10 UTC ---
Author: jakub
Date: Mon Apr 18 21:55:07 2011
New Revision: 172674

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172674
Log:
PR c++/48632
* parser.c (cp_parser_omp_for_loop): Don't use cp_parser_omp_for_incr
for type dependent pointers.

* g++.dg/gomp/pr48632.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/gomp/pr48632.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog


[Bug c++/48632] Internal compiler error when using OpenMP with template

2011-04-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48632

--- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2011-04-18 
21:56:15 UTC ---
Author: jakub
Date: Mon Apr 18 21:56:12 2011
New Revision: 172675

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=172675
Log:
PR c++/48632
* parser.c (cp_parser_omp_for_loop): Don't use cp_parser_omp_for_incr
for type dependent pointers.

* g++.dg/gomp/pr48632.C: New test.

Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/gomp/pr48632.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/parser.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


[Bug c++/48632] Internal compiler error when using OpenMP with template

2011-04-15 Thread phelippeneveu at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48632

--- Comment #1 from Phelippe Neveu phelippeneveu at gmail dot com 2011-04-15 
20:06:07 UTC ---
Created attachment 24005
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24005
Preprocessed source file.