[Bug c++/90950] OpenMP clause handling rejecting references to incomplete types in templates

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90950

Jakub Jelinek  changed:

   What|Removed |Added

   Target Milestone|--- |7.5

[Bug c++/90950] OpenMP clause handling rejecting references to incomplete types in templates

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90950

Jakub Jelinek  changed:

   What|Removed |Added

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

--- Comment #5 from Jakub Jelinek  ---
Fixed.

[Bug c++/90950] OpenMP clause handling rejecting references to incomplete types in templates

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90950

--- Comment #4 from Jakub Jelinek  ---
Author: jakub
Date: Fri Aug 30 12:46:52 2019
New Revision: 275160

URL: https://gcc.gnu.org/viewcvs?rev=275160=gcc=rev
Log:
Backported from mainline
2019-06-21  Jakub Jelinek  

PR c++/90950
* semantics.c (finish_omp_clauses): Don't reject references to
incomplete types if processing_template_decl.

* g++.dg/gomp/lastprivate-1.C: New test.

Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/gomp/lastprivate-1.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/semantics.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug c++/90950] OpenMP clause handling rejecting references to incomplete types in templates

2019-08-29 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90950

--- Comment #3 from Jakub Jelinek  ---
Author: jakub
Date: Thu Aug 29 15:02:44 2019
New Revision: 275042

URL: https://gcc.gnu.org/viewcvs?rev=275042=gcc=rev
Log:
Backported from mainline
2019-06-21  Jakub Jelinek  

PR c++/90950
* semantics.c (finish_omp_clauses): Don't reject references to
incomplete types if processing_template_decl.

* g++.dg/gomp/lastprivate-1.C: New test.

Added:
branches/gcc-8-branch/gcc/testsuite/g++.dg/gomp/lastprivate-1.C
Modified:
branches/gcc-8-branch/gcc/cp/ChangeLog
branches/gcc-8-branch/gcc/cp/semantics.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog

[Bug c++/90950] OpenMP clause handling rejecting references to incomplete types in templates

2019-06-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90950

--- Comment #2 from Jakub Jelinek  ---
Author: jakub
Date: Fri Jun 28 22:11:03 2019
New Revision: 272801

URL: https://gcc.gnu.org/viewcvs?rev=272801=gcc=rev
Log:
Backported from mainline
2019-06-21  Jakub Jelinek  

PR c++/90950
* semantics.c (finish_omp_clauses): Don't reject references to
incomplete types if processing_template_decl.

* g++.dg/gomp/lastprivate-1.C: New test.

Added:
branches/gcc-9-branch/gcc/testsuite/g++.dg/gomp/lastprivate-1.C
Modified:
branches/gcc-9-branch/gcc/cp/ChangeLog
branches/gcc-9-branch/gcc/cp/semantics.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog

[Bug c++/90950] OpenMP clause handling rejecting references to incomplete types in templates

2019-06-21 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90950

--- Comment #1 from Jakub Jelinek  ---
Author: jakub
Date: Fri Jun 21 06:46:45 2019
New Revision: 272543

URL: https://gcc.gnu.org/viewcvs?rev=272543=gcc=rev
Log:
PR c++/90950
* semantics.c (finish_omp_clauses): Don't reject references to
incomplete types if processing_template_decl.

* g++.dg/gomp/lastprivate-1.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/gomp/lastprivate-1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog

[Bug c++/90950] OpenMP clause handling rejecting references to incomplete types in templates

2019-06-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90950

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2019-06-20
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org
 Ever confirmed|0   |1