[Bug middle-end/104133] OpenACC 'kernels' decomposition: internal compiler error: 'verify_gimple' failed, error: invalid operands in binary operation

2022-03-04 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104133

Thomas Schwinge  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |tschwinge at gcc dot 
gnu.org
 Resolution|--- |FIXED
 Status|UNCONFIRMED |RESOLVED
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=100280

--- Comment #3 from Thomas Schwinge  ---
.

[Bug middle-end/104133] OpenACC 'kernels' decomposition: internal compiler error: 'verify_gimple' failed, error: invalid operands in binary operation

2022-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104133

--- Comment #2 from CVS Commits  ---
The master branch has been updated by Thomas Schwinge :

https://gcc.gnu.org/g:8935589b496f755e08cadf26d8ceddf0dd6e0968

commit r12-7481-g8935589b496f755e08cadf26d8ceddf0dd6e0968
Author: Thomas Schwinge 
Date:   Tue Feb 15 23:31:34 2022 +0100

OMP lowering: Regimplify 'OMP_CLAUSE_MAP_DECL_MAKE_ADDRESSABLE' DECLs
[PR100280, PR104132, PR104133]

... by generalizing the existing 'gcc/omp-low.cc:task_shared_vars'.

Fix-up for commit 9b32c1669aad5459dd053424f9967011348add83
"OpenACC 'kernels' decomposition: Mark variables used in
synthesized data clauses as addressable [PR100280]".

PR middle-end/100280
PR middle-end/104132
PR middle-end/104133
gcc/
* omp-low.cc (task_shared_vars): Rename to
'make_addressable_vars'.  Adjust all users.
(scan_sharing_clauses)  Use it for
'OMP_CLAUSE_MAP_DECL_MAKE_ADDRESSABLE' DECLs, too.
gcc/testsuite/
* c-c++-common/goacc/kernels-decompose-pr104061-1-3.c: Adjust.
* c-c++-common/goacc/kernels-decompose-pr104061-1-4.c: Likewise.
* c-c++-common/goacc/kernels-decompose-pr104132-1.c: Likewise.
* c-c++-common/goacc/kernels-decompose-pr104133-1.c: Likewise.
libgomp/
* testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c:
Extend.

[Bug middle-end/104133] OpenACC 'kernels' decomposition: internal compiler error: 'verify_gimple' failed, error: invalid operands in binary operation

2022-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104133

--- Comment #1 from CVS Commits  ---
The master branch has been updated by Thomas Schwinge :

https://gcc.gnu.org/g:e085900fa10e28b684d656b66557d181247a1a48

commit r12-7477-ge085900fa10e28b684d656b66557d181247a1a48
Author: Thomas Schwinge 
Date:   Wed Jan 19 22:28:55 2022 +0100

Add 'c-c++-common/goacc/kernels-decompose-pr104133-1.c' [PR104133]

..., currently XFAILed with 'dg-ice'.

PR middle-end/104133
gcc/testsuite/
* c-c++-common/goacc/kernels-decompose-pr104133-1.c: New file.