public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554
@ 2021-09-21 19:15 gscfq@t-online.de
  2021-09-27 13:10 ` [Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537 marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: gscfq@t-online.de @ 2021-09-21 19:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430

            Bug ID: 102430
           Summary: ICE in fold_convert_loc, at fold-const.c:2554
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started with r7 :


$ cat z1.f90
program p
   integer :: a(2)
   !$omp parallel do linear(a)
   do i = 1, 8
      a = a + 1
   end do
end


$ gfortran-12-20210919 -c z1.f90 -fopenmp
during GIMPLE pass: ompexp
z1.f90:5:15:

    5 |       a = a + 1
      |               ^
internal compiler error: in fold_convert_loc, at fold-const.c:2554
0x998563 fold_convert_loc(unsigned int, tree_node*, tree_node*)
        ../../gcc/fold-const.c:2554
0x180bcc8 expand_omp_for_static_nochunk
        ../../gcc/omp-expand.c:5260
0x1814bec expand_omp_for
        ../../gcc/omp-expand.c:8044
0x181518a expand_omp
        ../../gcc/omp-expand.c:10232
0x1815706 expand_omp
        ../../gcc/omp-expand.c:10218
0x181744d execute_expand_omp
        ../../gcc/omp-expand.c:10467

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537
  2021-09-21 19:15 [Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554 gscfq@t-online.de
@ 2021-09-27 13:10 ` marxin at gcc dot gnu.org
  2021-09-27 14:44 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-09-27 13:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |marxin at gcc dot gnu.org
   Last reconfirmed|                            |2021-09-27
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
            Summary|ICE in fold_convert_loc, at |[9/10/11/12 Regression] ICE
                   |fold-const.c:2554           |in fold_convert_loc, at
                   |                            |fold-const.c:2554 since
                   |                            |r7-4447-gb4c3a85be9658537

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r7-4447-gb4c3a85be9658537.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537
  2021-09-21 19:15 [Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554 gscfq@t-online.de
  2021-09-27 13:10 ` [Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537 marxin at gcc dot gnu.org
@ 2021-09-27 14:44 ` jakub at gcc dot gnu.org
  2021-11-05 13:23 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-09-27 14:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The OMP_CLAUSE_LINEAR_ARRAY support is there only for simd constructs (and
those are even simpler because we mostly punt on optimizing them by forcing vf
of 1).
The above mentioned commit was the "Partial OpenMP 4.5 fortran support" patch,
which enabled linear clause on do but apparently didn't actually add support
for array or allocatable linear.  The support for linear on worksharing-loops
is done  in omp-expand.c (in 3 places expand_omp_for_generic,
expand_omp_for_static_nochunk, expand_omp_for_static_chunk) and needs to be
added to those.  Whether it can use omp_clause_linear_ctor langhook or not is
unclear (or whether it needs to be done somehow during omp-low.c instead of
omp-expand.c).
So, for release branches I think the best would be to sorry on
OMP_CLAUSE_LINEAR_ARRAY clauses on OMP_FOR (e.g. in the FE).

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537
  2021-09-21 19:15 [Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554 gscfq@t-online.de
  2021-09-27 13:10 ` [Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537 marxin at gcc dot gnu.org
  2021-09-27 14:44 ` jakub at gcc dot gnu.org
@ 2021-11-05 13:23 ` rguenth at gcc dot gnu.org
  2022-01-17 13:28 ` rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-11-05 13:23 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |9.5
           Keywords|                            |ice-on-valid-code

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537
  2021-09-21 19:15 [Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554 gscfq@t-online.de
                   ` (2 preceding siblings ...)
  2021-11-05 13:23 ` rguenth at gcc dot gnu.org
@ 2022-01-17 13:28 ` rguenth at gcc dot gnu.org
  2022-05-27  9:46 ` [Bug fortran/102430] [10/11/12/13 " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-17 13:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/102430] [10/11/12/13 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537
  2021-09-21 19:15 [Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554 gscfq@t-online.de
                   ` (3 preceding siblings ...)
  2022-01-17 13:28 ` rguenth at gcc dot gnu.org
@ 2022-05-27  9:46 ` rguenth at gcc dot gnu.org
  2022-06-28 10:46 ` jakub at gcc dot gnu.org
  2023-07-07 10:41 ` [Bug fortran/102430] [11/12/13/14 " rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-05-27  9:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|9.5                         |10.4

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 9 branch is being closed

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug fortran/102430] [10/11/12/13 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537
  2021-09-21 19:15 [Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554 gscfq@t-online.de
                   ` (4 preceding siblings ...)
  2022-05-27  9:46 ` [Bug fortran/102430] [10/11/12/13 " rguenth at gcc dot gnu.org
@ 2022-06-28 10:46 ` jakub at gcc dot gnu.org
  2023-07-07 10:41 ` [Bug fortran/102430] [11/12/13/14 " rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2022-06-28 10:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.4                        |10.5

--- Comment #4 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] 8+ messages in thread

* [Bug fortran/102430] [11/12/13/14 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537
  2021-09-21 19:15 [Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554 gscfq@t-online.de
                   ` (5 preceding siblings ...)
  2022-06-28 10:46 ` jakub at gcc dot gnu.org
@ 2023-07-07 10:41 ` rguenth at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102430

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|10.5                        |11.5

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-07-07 10:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-21 19:15 [Bug fortran/102430] New: ICE in fold_convert_loc, at fold-const.c:2554 gscfq@t-online.de
2021-09-27 13:10 ` [Bug fortran/102430] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2554 since r7-4447-gb4c3a85be9658537 marxin at gcc dot gnu.org
2021-09-27 14:44 ` jakub at gcc dot gnu.org
2021-11-05 13:23 ` rguenth at gcc dot gnu.org
2022-01-17 13:28 ` rguenth at gcc dot gnu.org
2022-05-27  9:46 ` [Bug fortran/102430] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:46 ` jakub at gcc dot gnu.org
2023-07-07 10:41 ` [Bug fortran/102430] [11/12/13/14 " rguenth 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).