[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread chinoune.mehdi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #8 from Chinoune --- (In reply to Thomas Koenig from comment #7) > Fun fact: -flto also fixes it. It fixes the first test not the second (comment #5)

[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #7 from Thomas Koenig --- Fun fact: -flto also fixes it.

[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #6 from Thomas Koenig --- The *.original dump shows ANNOTATE_EXPRs: if (ANNOTATE_EXPR ) goto L.3; i.0 = 0; count.2 = 2; while (1) { if (ANNOTATE_EXPR ) goto L.2; Thes

[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread chinoune.mehdi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #5 from Chinoune --- Created attachment 41124 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41124&action=edit the second test program This is another test which fails with all the optimizations directives (except -Og).

[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #4 from Dominique d'Humieres --- I also get a wrong result if I compile the test with -O1 -fno-auto-inc-dec -fno-branch-count-reg -fno-combine-stack-adjustments -fno-compare-elim -fno-cprop-registers -fno-dce -fno-defer-pop -fno-del

[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 Dominique d'Humieres changed: What|Removed |Added Status|WAITING |NEW

[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #3 from Dominique d'Humieres --- Compiling the code with -O1 gives 131076.000 6. 10.000 6. 131080.000 6. and with -Os 4. 6. 10.0

[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread chinoune.mehdi at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 --- Comment #2 from Chinoune --- (In reply to Dominique d'Humieres from comment #1) > WORKSFORME on x86_64-apple-darwin16 from 4.8 up to trunk (7.0): > >10.000 6. >10.000 6. >10.000

[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/80304] [7 Regression] do-concurrent dosn't work well with gfortran 7.

2017-04-04 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304 Richard Biener changed: What|Removed |Added Keywords||wrong-code Priority|P3