public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/62010] New: OpenMP simd produces wrong results
@ 2014-08-04 13:29 alexander.grund at mailbox dot tu-dresden.de
  2014-08-04 13:34 ` [Bug fortran/62010] " alexander.grund at mailbox dot tu-dresden.de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: alexander.grund at mailbox dot tu-dresden.de @ 2014-08-04 13:29 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 62010
           Summary: OpenMP simd produces wrong results
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          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 in
some cases. (See testcase 1)

To reproduce: simply run:
gfortran-4.9 gfortranBug.f && ./a.out && gfortran-4.9 gfortranBug.f -fopenmp &&
./a.out

Output:
 size          12
   36.016765295885790     
 size          12
   35.454228116260587 

Expected: Same for both cases.


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

end of thread, other threads:[~2014-08-04 16:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-04 13:29 [Bug fortran/62010] New: OpenMP simd produces wrong results alexander.grund at mailbox dot tu-dresden.de
2014-08-04 13:34 ` [Bug fortran/62010] " alexander.grund at mailbox dot tu-dresden.de
2014-08-04 16:38 ` jakub at gcc dot gnu.org
2014-08-04 16:48 ` alexander.grund at mailbox dot tu-dresden.de

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).