public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665
@ 2020-12-08 17:36 gscfq@t-online.de
2020-12-08 18:39 ` [Bug fortran/98203] " dominiq at lps dot ens.fr
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2020-12-08 17:36 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Bug ID: 98203
Summary: [11 Regression] ICE in gfc_trans_omp_do, at
fortran/trans-openmp.c:4665
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Changed between 20200510 and 20200517 :
$ cat z1.f90
program p
integer :: i, j
!$omp simd collapse(2)
do j = 1, 4
do i = 1, 4, 2
end do
end do
end
$ gfortran-11-20200510 -c z1.f90 -fopenmp
$
$ gfortran-11-20201206 -c z1.f90 -fopenmp
z1.f90:3:25:
3 | !$omp simd collapse(2)
| 1
internal compiler error: in gfc_trans_omp_do, at fortran/trans-openmp.c:4665
0x7918c3 gfc_trans_omp_do
../../gcc/fortran/trans-openmp.c:4665
0x793b0f gfc_trans_omp_directive(gfc_code*)
../../gcc/fortran/trans-openmp.c:6104
0x729857 trans_code
../../gcc/fortran/trans.c:2163
0x74f8b4 gfc_generate_function_code(gfc_namespace*)
../../gcc/fortran/trans-decl.c:6880
0x6d6c66 translate_all_program_units
../../gcc/fortran/parse.c:6347
0x6d6c66 gfc_parse_file()
../../gcc/fortran/parse.c:6616
0x722aef gfc_be_parse_file
../../gcc/fortran/f95-lang.c:212
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
@ 2020-12-08 18:39 ` dominiq at lps dot ens.fr
2020-12-08 20:05 ` [Bug fortran/98203] [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d marxin at gcc dot gnu.org
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: dominiq at lps dot ens.fr @ 2020-12-08 18:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2020-12-08
Known to work| |10.2.1
Ever confirmed|0 |1
Priority|P3 |P4
Known to fail| |11.0
Status|UNCONFIRMED |NEW
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
2020-12-08 18:39 ` [Bug fortran/98203] " dominiq at lps dot ens.fr
@ 2020-12-08 20:05 ` marxin at gcc dot gnu.org
2020-12-09 9:00 ` rguenth at gcc dot gnu.org
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-12-08 20:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[11 Regression] ICE in |[11 Regression] ICE in
|gfc_trans_omp_do, at |gfc_trans_omp_do, at
|fortran/trans-openmp.c:4665 |fortran/trans-openmp.c:4665
| |since
| |r11-349-gf884bef21cccc05d
Target Milestone|--- |11.0
CC| |burnus at gcc dot gnu.org,
| |marxin at gcc dot gnu.org
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-349-gf884bef21cccc05d.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
2020-12-08 18:39 ` [Bug fortran/98203] " dominiq at lps dot ens.fr
2020-12-08 20:05 ` [Bug fortran/98203] [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d marxin at gcc dot gnu.org
@ 2020-12-09 9:00 ` rguenth at gcc dot gnu.org
2020-12-09 12:16 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-12-09 9:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P4 |P3
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
` (2 preceding siblings ...)
2020-12-09 9:00 ` rguenth at gcc dot gnu.org
@ 2020-12-09 12:16 ` jakub at gcc dot gnu.org
2021-01-14 11:02 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-12-09 12:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The point of the assert is/was that if the loop is simple, then we've kept it
in the iterator of OMP_FOR and the gimplifier can handle it, but if it is not
simple, the FE is replacing the OMP_FOR iterator with another one and is just
assigning the user variable at the start of the loop; I'm not sure if the
gimplifier handles that case too (there is some code for OMP_FOR_ORIG_DECLS,
perhaps it does, but it needs verification).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
` (3 preceding siblings ...)
2020-12-09 12:16 ` jakub at gcc dot gnu.org
@ 2021-01-14 11:02 ` rguenth at gcc dot gnu.org
2021-04-27 11:39 ` [Bug fortran/98203] [11/12 " jakub at gcc dot gnu.org
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-01-14 11:02 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11/12 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
` (4 preceding siblings ...)
2021-01-14 11:02 ` rguenth at gcc dot gnu.org
@ 2021-04-27 11:39 ` jakub at gcc dot gnu.org
2021-07-28 7:05 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-04-27 11:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.0 |11.2
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.1 has been released, retargeting bugs to GCC 11.2.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11/12 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
` (5 preceding siblings ...)
2021-04-27 11:39 ` [Bug fortran/98203] [11/12 " jakub at gcc dot gnu.org
@ 2021-07-28 7:05 ` rguenth at gcc dot gnu.org
2021-11-10 17:59 ` gscfq@t-online.de
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-28 7:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.2 |11.3
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.2 is being released, retargeting bugs to GCC 11.3
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11/12 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
` (6 preceding siblings ...)
2021-07-28 7:05 ` rguenth at gcc dot gnu.org
@ 2021-11-10 17:59 ` gscfq@t-online.de
2022-04-21 7:48 ` rguenth at gcc dot gnu.org
2023-05-29 10:03 ` [Bug fortran/98203] [11/12/13/14 " jakub at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: gscfq@t-online.de @ 2021-11-10 17:59 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
--- Comment #6 from G. Steinmetz <gscfq@t-online.de> ---
This variant started between 20210808 (error) and 20210822 (ICE) :
$ cat z2.f90
program p
integer :: i, j
!$omp parallel masked taskloop simd collapse(2)
do j = 1, 4
do i = 1, 4, 2
end do
end do
end
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11/12 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
` (7 preceding siblings ...)
2021-11-10 17:59 ` gscfq@t-online.de
@ 2022-04-21 7:48 ` rguenth at gcc dot gnu.org
2023-05-29 10:03 ` [Bug fortran/98203] [11/12/13/14 " jakub at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-21 7:48 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.3 |11.4
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.3 is being released, retargeting bugs to GCC 11.4.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug fortran/98203] [11/12/13/14 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
` (8 preceding siblings ...)
2022-04-21 7:48 ` rguenth at gcc dot gnu.org
@ 2023-05-29 10:03 ` jakub at gcc dot gnu.org
9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-05-29 10:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98203
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|11.4 |11.5
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.4 is being released, retargeting bugs to GCC 11.5.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2023-05-29 10:03 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-08 17:36 [Bug fortran/98203] New: [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 gscfq@t-online.de
2020-12-08 18:39 ` [Bug fortran/98203] " dominiq at lps dot ens.fr
2020-12-08 20:05 ` [Bug fortran/98203] [11 Regression] ICE in gfc_trans_omp_do, at fortran/trans-openmp.c:4665 since r11-349-gf884bef21cccc05d marxin at gcc dot gnu.org
2020-12-09 9:00 ` rguenth at gcc dot gnu.org
2020-12-09 12:16 ` jakub at gcc dot gnu.org
2021-01-14 11:02 ` rguenth at gcc dot gnu.org
2021-04-27 11:39 ` [Bug fortran/98203] [11/12 " jakub at gcc dot gnu.org
2021-07-28 7:05 ` rguenth at gcc dot gnu.org
2021-11-10 17:59 ` gscfq@t-online.de
2022-04-21 7:48 ` rguenth at gcc dot gnu.org
2023-05-29 10:03 ` [Bug fortran/98203] [11/12/13/14 " jakub at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).