[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-08-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #12 from Jakub Jelinek --- Author: jakub Date: Fri Aug 30 12:15:50 2019 New Revision: 275127 URL: https://gcc.gnu.org/viewcvs?rev=275127=gcc=rev Log: Backported from mainline 2019-03-11 Jakub Jelinek PR

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-05-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #11 from Jakub Jelinek --- Fixed for 8.4+ too.

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-04-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Tue Apr 30 20:40:17 2019 New Revision: 270724 URL: https://gcc.gnu.org/viewcvs?rev=270724=gcc=rev Log: Backported from mainline 2019-03-11 Jakub Jelinek PR

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 Jakub Jelinek changed: What|Removed |Added Keywords|wrong-code | --- Comment #9 from Jakub Jelinek ---

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Mon Mar 11 22:27:39 2019 New Revision: 269598 URL: https://gcc.gnu.org/viewcvs?rev=269598=gcc=rev Log: PR fortran/89651 * trans-openmp.c (gfc_omp_clause_default_ctor):

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jfeng33 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #7 from Jim Feng --- (In reply to Jakub Jelinek from comment #6) > (In reply to Jim Feng from comment #5) > > (In reply to Jakub Jelinek from comment #4) > > > On the other side, the testcase is invalid, because you are summing > > >

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #6 from Jakub Jelinek --- (In reply to Jim Feng from comment #5) > (In reply to Jakub Jelinek from comment #4) > > On the other side, the testcase is invalid, because you are summing > > uninitialized data. It is like if you did: >

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jfeng33 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #5 from Jim Feng --- (In reply to Jakub Jelinek from comment #4) > On the other side, the testcase is invalid, because you are summing > uninitialized data. It is like if you did: > program pr89651 > integer :: n > real,

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #4 from Jakub Jelinek --- On the other side, the testcase is invalid, because you are summing uninitialized data. It is like if you did: program pr89651 integer :: n real, allocatable :: t(:) n = 10 allocate (t(n)) print

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 --- Comment #3 from Jakub Jelinek --- t is privatized and the emitted code looks just fine to me. The standard says for privatization clauses: For a list item or the subobject of a list item with the ALLOCATABLE attribute: - if the allocation

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 See Also|

[Bug fortran/89651] OpenMP private array uninitialized warning with -O flag

2019-03-11 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89651 Richard Biener changed: What|Removed |Added Keywords||diagnostic, openmp,