[Bug fortran/62010] OpenMP simd produces wrong results

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62010 Alexander Grund changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/62010] OpenMP simd produces wrong results

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62010 --- Comment #2 from Alexander Grund --- Related to this: In some cases OpenMP simd crashes while that crash is fixed by removing an unrelated piece of code. See Testcase 2. Run with: gfortran-4.9 gfortranBug.f -cpp && ./a.out && gfortran-4.9 gf

[Bug fortran/62010] OpenMP simd produces wrong results

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62010 --- Comment #1 from Alexander Grund --- Created attachment 33239 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33239&action=edit Testcase 2

[Bug fortran/62010] New: OpenMP simd produces wrong results

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
Assignee: unassigned at gcc dot gnu.org Reporter: alexander.grund at mailbox dot tu-dresden.de Created attachment 33238 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33238&action=edit Testcase 1 Using the OpenMP 4.0 SIMD construct results in wrong calculation results

[Bug fortran/62007] default(none) conflicts with iteration variable in openmp parallel loop simd

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62007 --- Comment #6 from Alexander Grund --- gfortran 4.9.1 supports OpenMP 4.0 Removing the default(none) clause removes the error message, so it certainly IS supported. Besides that: Even the error message mentiones "!$OMP PARALLEL DO SIMD" so it i

[Bug fortran/62007] default(none) conflicts with iteration variable in openmp parallel loop simd

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62007 --- Comment #4 from Alexander Grund --- I attached 2 testcases. Both are the same files but with different file endings. The .f works, the .F90 doesn't (it shows the reported behavior) compile both with "gfortran -fopenmp {file}"

[Bug fortran/62007] default(none) conflicts with iteration variable in openmp parallel loop simd

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62007 --- Comment #3 from Alexander Grund --- Created attachment 33233 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33233&action=edit Broken example

[Bug fortran/62007] default(none) conflicts with iteration variable in openmp parallel loop simd

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62007 --- Comment #2 from Alexander Grund --- Created attachment 33232 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33232&action=edit Working example

[Bug fortran/62007] default(none) conflicts with iteration variable in openmp parallel loop simd

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62007 Alexander Grund changed: What|Removed |Added Severity|normal |major

[Bug fortran/62007] New: default(none) conflicts with iteration variable in openmp parallel loop simd

2014-08-04 Thread alexander.grund at mailbox dot tu-dresden.de
: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: alexander.grund at mailbox dot tu-dresden.de If you use the "default(none)" clause in a parallel loop simd construct gfortran will complain about having n