public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/93566] [8/9/10 Regression] tree-nested.c ICE on C OpenMP array section reduction
       [not found] <bug-93566-4@http.gcc.gnu.org/bugzilla/>
@ 2020-03-12 18:28 ` jakub at gcc dot gnu.org
  2020-03-13 11:58 ` jakub at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-12 18:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
void
foo (int *x)
{
  int c[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
  int bar (int i) { return c[i]; }
  #pragma omp parallel for reduction(+:x[:10])
  for (int i = 0; i < 10; i++)
    x[i] = bar (i);
}

ICEs too.

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

* [Bug middle-end/93566] [8/9/10 Regression] tree-nested.c ICE on C OpenMP array section reduction
       [not found] <bug-93566-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 18:28 ` [Bug middle-end/93566] [8/9/10 Regression] tree-nested.c ICE on C OpenMP array section reduction jakub at gcc dot gnu.org
@ 2020-03-13 11:58 ` jakub at gcc dot gnu.org
  2020-03-15  0:29 ` cvs-commit at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-13 11:58 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 48027
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48027&action=edit
gcc10-pr93566.patch

Untested fix.

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

* [Bug middle-end/93566] [8/9/10 Regression] tree-nested.c ICE on C OpenMP array section reduction
       [not found] <bug-93566-4@http.gcc.gnu.org/bugzilla/>
  2020-03-12 18:28 ` [Bug middle-end/93566] [8/9/10 Regression] tree-nested.c ICE on C OpenMP array section reduction jakub at gcc dot gnu.org
  2020-03-13 11:58 ` jakub at gcc dot gnu.org
@ 2020-03-15  0:29 ` cvs-commit at gcc dot gnu.org
  2020-03-15  7:01 ` [Bug middle-end/93566] [8/9 " jakub at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-15  0:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:9c3cdb43c2bdaf8a8d2e62db010b04f6086d76b7

commit r10-7179-g9c3cdb43c2bdaf8a8d2e62db010b04f6086d76b7
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sun Mar 15 01:27:40 2020 +0100

    tree-nested: Fix handling of *reduction clauses with C array sections
[PR93566]

    tree-nested.c didn't handle C array sections in {,task_,in_}reduction
clauses.

    2020-03-14  Jakub Jelinek  <jakub@redhat.com>

            PR middle-end/93566
            * tree-nested.c (convert_nonlocal_omp_clauses,
            convert_local_omp_clauses): Handle {,in_,task_}reduction clauses
            with C/C++ array sections.

            * testsuite/libgomp.c/pr93566.c: New test.

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

* [Bug middle-end/93566] [8/9 Regression] tree-nested.c ICE on C OpenMP array section reduction
       [not found] <bug-93566-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2020-03-15  0:29 ` cvs-commit at gcc dot gnu.org
@ 2020-03-15  7:01 ` jakub at gcc dot gnu.org
  2020-03-17 18:57 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-15  7:01 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9/10 Regression]         |[8/9 Regression]
                   |tree-nested.c ICE on C      |tree-nested.c ICE on C
                   |OpenMP array section        |OpenMP array section
                   |reduction                   |reduction

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk so far.

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

* [Bug middle-end/93566] [8/9 Regression] tree-nested.c ICE on C OpenMP array section reduction
       [not found] <bug-93566-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2020-03-15  7:01 ` [Bug middle-end/93566] [8/9 " jakub at gcc dot gnu.org
@ 2020-03-17 18:57 ` cvs-commit at gcc dot gnu.org
  2020-03-17 19:14 ` [Bug middle-end/93566] [8 " jakub at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-03-17 18:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

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

commit r9-8396-ga8fc40fd551a60a97efbfe3fee08721accd80964
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sun Mar 15 01:27:40 2020 +0100

    tree-nested: Fix handling of *reduction clauses with C array sections
[PR93566]

    tree-nested.c didn't handle C array sections in {,task_,in_}reduction
clauses.

    2020-03-14  Jakub Jelinek  <jakub@redhat.com>

            PR middle-end/93566
            * tree-nested.c (convert_nonlocal_omp_clauses,
            convert_local_omp_clauses): Handle {,in_,task_}reduction clauses
            with C/C++ array sections.

            * testsuite/libgomp.c/pr93566.c: New test.

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

* [Bug middle-end/93566] [8 Regression] tree-nested.c ICE on C OpenMP array section reduction
       [not found] <bug-93566-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2020-03-17 18:57 ` cvs-commit at gcc dot gnu.org
@ 2020-03-17 19:14 ` jakub at gcc dot gnu.org
  2020-09-17 14:25 ` cvs-commit at gcc dot gnu.org
  2020-09-17 17:14 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-03-17 19:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[8/9 Regression]            |[8 Regression]
                   |tree-nested.c ICE on C      |tree-nested.c ICE on C
                   |OpenMP array section        |OpenMP array section
                   |reduction                   |reduction

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 9.4+ too.

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

* [Bug middle-end/93566] [8 Regression] tree-nested.c ICE on C OpenMP array section reduction
       [not found] <bug-93566-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2020-03-17 19:14 ` [Bug middle-end/93566] [8 " jakub at gcc dot gnu.org
@ 2020-09-17 14:25 ` cvs-commit at gcc dot gnu.org
  2020-09-17 17:14 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-09-17 14:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-8 branch has been updated by Jakub Jelinek
<jakub@gcc.gnu.org>:

https://gcc.gnu.org/g:434ddc50ba49442e655c34d85cedd358110e4266

commit r8-10467-g434ddc50ba49442e655c34d85cedd358110e4266
Author: Jakub Jelinek <jakub@redhat.com>
Date:   Sun Mar 15 01:27:40 2020 +0100

    tree-nested: Fix handling of *reduction clauses with C array sections
[PR93566]

    tree-nested.c didn't handle C array sections in {,task_,in_}reduction
clauses.

    2020-03-14  Jakub Jelinek  <jakub@redhat.com>

            PR middle-end/93566
            * tree-nested.c (convert_nonlocal_omp_clauses,
            convert_local_omp_clauses): Handle {,in_,task_}reduction clauses
            with C/C++ array sections.

            * testsuite/libgomp.c/pr93566.c: New test.

    (cherry picked from commit a8fc40fd551a60a97efbfe3fee08721accd80964)

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

* [Bug middle-end/93566] [8 Regression] tree-nested.c ICE on C OpenMP array section reduction
       [not found] <bug-93566-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2020-09-17 14:25 ` cvs-commit at gcc dot gnu.org
@ 2020-09-17 17:14 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-09-17 17:14 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed for 8.5 too.

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

end of thread, other threads:[~2020-09-17 17:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-93566-4@http.gcc.gnu.org/bugzilla/>
2020-03-12 18:28 ` [Bug middle-end/93566] [8/9/10 Regression] tree-nested.c ICE on C OpenMP array section reduction jakub at gcc dot gnu.org
2020-03-13 11:58 ` jakub at gcc dot gnu.org
2020-03-15  0:29 ` cvs-commit at gcc dot gnu.org
2020-03-15  7:01 ` [Bug middle-end/93566] [8/9 " jakub at gcc dot gnu.org
2020-03-17 18:57 ` cvs-commit at gcc dot gnu.org
2020-03-17 19:14 ` [Bug middle-end/93566] [8 " jakub at gcc dot gnu.org
2020-09-17 14:25 ` cvs-commit at gcc dot gnu.org
2020-09-17 17: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).