* [Bug libgomp/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
@ 2020-05-18 5:47 ` marxin at gcc dot gnu.org
2020-05-18 5:58 ` rguenth at gcc dot gnu.org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-18 5:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |11.0, 7.5.0
CC| |marxin at gcc dot gnu.org
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
Summary|internal compiler error: in |[8/9/10/11 Regression] ICE
|gimplify_adjust_omp_clauses |in
|, at gimplify.c:10440 |gimplify_adjust_omp_clauses
| |, at gimplify.c:10440 since
| |r7-4447-gb4c3a85be9658537
Last reconfirmed| |2020-05-18
Known to work| |6.4.0
Version|unknown |7.5.0
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug libgomp/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
2020-05-18 5:47 ` [Bug libgomp/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537 marxin at gcc dot gnu.org
@ 2020-05-18 5:58 ` rguenth at gcc dot gnu.org
2020-05-25 11:59 ` [Bug middle-end/95163] " jakub at gcc dot gnu.org
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-05-18 5:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |8.5
Keywords| |ice-on-valid-code
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
2020-05-18 5:47 ` [Bug libgomp/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537 marxin at gcc dot gnu.org
2020-05-18 5:58 ` rguenth at gcc dot gnu.org
@ 2020-05-25 11:59 ` jakub at gcc dot gnu.org
2020-05-25 12:15 ` john.donners at atos dot net
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-05-25 11:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
Component|libgomp |middle-end
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The testcase is not valid, target construct accepts both map and firstprivate
clauses and specifying both mapping and data-sharing for the same list item is
invalid, you need to choose one.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug middle-end/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (2 preceding siblings ...)
2020-05-25 11:59 ` [Bug middle-end/95163] " jakub at gcc dot gnu.org
@ 2020-05-25 12:15 ` john.donners at atos dot net
2020-05-25 12:25 ` [Bug fortran/95163] " jakub at gcc dot gnu.org
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: john.donners at atos dot net @ 2020-05-25 12:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
--- Comment #2 from John Donners <john.donners at atos dot net> ---
hmm, indeed I found the applicable text in the standard (2.14) as well:
"The effect of the firstprivate clause is as if it is applied to one or more
constructs as follows: To the target construct if it is among the constituent
constructs and the same list item does not appear in a lastprivate or map
clause."
Apologies for the invalid code. Splitting the two works without problems.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (3 preceding siblings ...)
2020-05-25 12:15 ` john.donners at atos dot net
@ 2020-05-25 12:25 ` jakub at gcc dot gnu.org
2020-05-25 13:06 ` burnus at gcc dot gnu.org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-05-25 12:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |burnus at gcc dot gnu.org
Component|middle-end |fortran
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
integer :: i
i = 1
!$omp target map(tofrom: i) firstprivate (i)
i = i + 1
!$omp end target
end
For C/C++,
void
foo (int i)
{
#pragma omp target map(tofrom: i) firstprivate (i)
i++;
}
void
bar (int i)
{
#pragma omp target firstprivate (i) map(tofrom: i)
i++;
}
is rejected already in the FE, so I think we just miss rejecting it in the
Fortran FE.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (4 preceding siblings ...)
2020-05-25 12:25 ` [Bug fortran/95163] " jakub at gcc dot gnu.org
@ 2020-05-25 13:06 ` burnus at gcc dot gnu.org
2021-01-14 8:49 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: burnus at gcc dot gnu.org @ 2020-05-25 13:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> ---
Likewise crashing is:
!$omp target map(tofrom: i) map(i)
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (5 preceding siblings ...)
2020-05-25 13:06 ` burnus at gcc dot gnu.org
@ 2021-01-14 8:49 ` rguenth at gcc dot gnu.org
2021-01-14 8:49 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-14 8:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Keywords| |accepts-invalid
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (6 preceding siblings ...)
2021-01-14 8:49 ` rguenth at gcc dot gnu.org
@ 2021-01-14 8:49 ` rguenth at gcc dot gnu.org
2021-05-14 9:53 ` [Bug fortran/95163] [9/10/11/12 " jakub at gcc dot gnu.org
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-14 8:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P4
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/95163] [9/10/11/12 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (7 preceding siblings ...)
2021-01-14 8:49 ` rguenth at gcc dot gnu.org
@ 2021-05-14 9:53 ` jakub at gcc dot gnu.org
2021-06-01 8:17 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-05-14 9:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|8.5 |9.4
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 8 branch is being closed.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/95163] [9/10/11/12 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (8 preceding siblings ...)
2021-05-14 9:53 ` [Bug fortran/95163] [9/10/11/12 " jakub at gcc dot gnu.org
@ 2021-06-01 8:17 ` rguenth at gcc dot gnu.org
2022-05-27 9:42 ` [Bug fortran/95163] [10/11/12/13 " rguenth at gcc dot gnu.org
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-06-01 8:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.4 |9.5
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9.4 is being released, retargeting bugs to GCC 9.5.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/95163] [10/11/12/13 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (9 preceding siblings ...)
2021-06-01 8:17 ` rguenth at gcc dot gnu.org
@ 2022-05-27 9:42 ` rguenth at gcc dot gnu.org
2022-06-28 10:40 ` jakub at gcc dot gnu.org
2023-07-07 10:37 ` [Bug fortran/95163] [11/12/13/14 " rguenth at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27 9:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|9.5 |10.4
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/95163] [10/11/12/13 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (10 preceding siblings ...)
2022-05-27 9:42 ` [Bug fortran/95163] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:40 ` jakub at gcc dot gnu.org
2023-07-07 10:37 ` [Bug fortran/95163] [11/12/13/14 " rguenth at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:40 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.4 |10.5
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 10.4 is being released, retargeting bugs to GCC 10.5.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Bug fortran/95163] [11/12/13/14 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
` (11 preceding siblings ...)
2022-06-28 10:40 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:37 ` rguenth at gcc dot gnu.org
12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95163
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 14+ messages in thread